Skip to contentSkip to conversation

Does a chattr -c/+c on ubifs automagically compress/uncompress all blocks of an inode ?

DISCUSSION Mainz, Roland 2 participants 2 messages Jul 25, 2019 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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/
#1 lore raw
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/