1 |
On 08/04/12 19:44, meino.cramer@×××.de wrote: |
2 |
> Mick<michaelkintzios@×××××.com> [12-04-08 18:40]: |
3 |
>> On Sunday 08 Apr 2012 16:56:23 David W Noon wrote: |
4 |
>>> On Sun, 8 Apr 2012 17:26:03 +0200, meino.cramer@×××.de wrote about |
5 |
>>> |
6 |
>>> [gentoo-user] Extended file attributes: ext4: |
7 |
>>>> is it possible to go from an ext4-filesystem with no extended file |
8 |
>>>> attributes to one with extended file attributes without reformatting |
9 |
>>>> the disk or other very risky low level things just by adding this |
10 |
>>>> feature to the kenrel (?) ? |
11 |
>>> |
12 |
>>> Yes, it's simple. |
13 |
>>> |
14 |
>>> You need to ensure that your kernel configuration has the extended |
15 |
>>> attribute support (ACL is a good idea too) and you have booted with the |
16 |
>>> ext4 driver so configured. |
17 |
>>> |
18 |
>>> You then add the xattr option in /etc/fstab for the filesystem(s) where |
19 |
>>> you want extended attribute support. If you do that before you reboot |
20 |
>>> (as above) then you will have full extended attribute support. |
21 |
>> |
22 |
>> I thought that you are meant to pass such options on the CLI at the time you |
23 |
>> are formatting the partition ... is this incorrect? |
24 |
>> |
25 |
>> Of course if you must format the drive with such options then the data won't |
26 |
>> survive. |
27 |
> |
28 |
> Status quo: System with ext4 and no extended attributes. |
29 |
> Where I want to be: The same system with extended attributes. |
30 |
> |
31 |
> Way to go: No reformatting and mkfs and all that things. Only kernel |
32 |
> reconfiguring / recompiling / rebooting and emerging some tools. |
33 |
> |
34 |
> Possible? |
35 |
|
36 |
Yes. David already explained how. Extended attributes can be enabled |
37 |
and disabled at any time. |
38 |
|
39 |
For even more information, Google it. |