Re: [PATCH 2/2] E2fsprogs: add compress and cow support in chattr, lsattr

2015-01-04 Thread Martin Steigerwald
Am Sonntag, 4. Januar 2015, 12:40:59 schrieb Erkki Seppala: > Lutz Vieweg writes: > > > Maybe "chattr +C" could print a warning if a file > > to change attributes for is > 0 bytes long? > > This may only affect btrfs. The old ext2? ext3? compression patches > were able to compress pre-existing f

Re: [PATCH 2/2] E2fsprogs: add compress and cow support in chattr, lsattr

2015-01-04 Thread Erkki Seppala
Lutz Vieweg writes: > Maybe "chattr +C" could print a warning if a file > to change attributes for is > 0 bytes long? This may only affect btrfs. The old ext2? ext3? compression patches were able to compress pre-existing files. I don't know how other filesystems behave in this regard. -- ___

Re: [PATCH 2/2] E2fsprogs: add compress and cow support in chattr, lsattr

2015-01-02 Thread Lutz Vieweg
On 04/18/2011 09:37 AM, liubo wrote: Modify command 'chattr' and 'lsattr' to support compress and cow. - use 'C' to indicate NOCOW attribute. It's kind of confusing for new users that when one sets > chattr +C someexistingfile on btrfs, a subsequent > lsattr someexistingfile will show the C fla

[PATCH 2/2] E2fsprogs: add compress and cow support in chattr, lsattr

2011-04-18 Thread liubo
Modify command 'chattr' and 'lsattr' to support compress and cow. - use 'C' to indicate NOCOW attribute. - still use 'c' to indicate compress attribute. Also update the man doc. Signed-off-by: Liu Bo --- lib/e2p/pf.c |1 + lib/ext2fs/ext2_fs.h |1 + misc/chattr.1.in | 15 +