Displaying 1 result from an estimated 1 matches for "ntfs_attrib".
2016 Jun 13
0
Re: libguestfs-tools and NTFS compression attribute
...to automate
the process (ie. you're only doing it one-off for a few disks), then
it's better to use virt-rescue. Something like this:
$ virt-rescue -a thedisk
><rescue> mount /dev/sda2 /sysroot
><rescue> cd /sysroot
><rescue> setfattr -h -v 0x00000000 -n system.ntfs_attrib directory-name
(See also:
http://www.tuxera.com/community/ntfs-3g-advanced/data-compression/)
You can also use the regular getfattr command to list the attribute,
although the format seems to need a bit of decoding:
><rescue> mkdir compressed
><rescue> setfattr -h -v 0x00080000...