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