UBIFS: introduce compression mount options

It is very handy to be able to change default UBIFS compressor
via mount options. Introduce -o compr=<name> mount option support.
Currently only "none", "lzo" and "zlib" compressors are supported.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
Artem Bityutskiy
2008-11-01 14:57:49 +02:00
parent a1dc080c27
commit 553dea4dd5
5 changed files with 59 additions and 16 deletions

View File

@ -95,6 +95,9 @@ no_chk_data_crc skip checking of CRCs on data nodes in order to
of this option is that corruption of the contents
of a file can go unnoticed.
chk_data_crc (*) do not skip checking CRCs on data nodes
compr=none override defoult comressor and set it to "none"
compr=lzo override defoult comressor and set it to "lzo"
compr=zlib override defoult comressor and set it to "zlib"
Quick usage instructions