forcing compression?

Tomasz Chmielewski
Wed, 08 Jul 2009 12:52:18 -0000

Right now, btrfs will decide on its own if the file is compressible or now.

It mostly works fine, but such detection will fail i.e. in case of disk images,
where one may explicitly want to make sure the compression is used.


Is there a way to force compression?

# chattr +c disk.img
chattr: Operation not supported while setting flags on disk.img


--
Tomasz Chmielewski
http://wpkg.org



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html