Skip to contentSkip to conversation

support of "chattr +c" flag

DISCUSSION Massimiliano Adamo 1 participant 1 message Feb 14, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi all,

After trying the filesystem I noticed the following:
as you know the "chattr" have a "c" flag to provide transparent compression on directories/files.
Of course, to use this flag the filesystem must have the transparent compression feature, and must be aware of the flag itself. In the case of ext4, the flag is properly set (and lsattr shows the "c" flag) but it won't work, because ext4 doesn't support transparent compression. In the case of "btrfs" I cannot set the flag and I get the following error:
Operation not supported while setting flags on xxxx
Are you planning to support the use of this flag within btrfs?

cheers
Massimiliano