Does a chattr -c/+c on ubifs automagically compress/uncompress all blocks of an inode ?
Hi!
----
Does a chattr -c/+c automagically compress/uncompress all blocks of an inode in ubifs, or will the change only affect newly written or updated blocks ?
----
Bye,
Roland
Signature · 14 lines
Roland Mainz, MAA/CAS Eckelmann AG, Berliner Str. 161, 65205 Wiesbaden Telefon +49/611/7103-661, Fax +49/611/7103-133 [email protected] Eckelmann Group – Source of inspiration ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
Quoted 1 line · Roland
Does a chattr -c/+c automagically compress/uncompress all blocks of an inode in ubifs, or will the change only affect newly written or updated blocks ?
Nope, only new writes are affected. No re-compression. AFAIK this is also what other filesystems do.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/