Skip to contentSkip to conversation

UBIFS option to make volume not do compression

DISCUSSION Philip Rakity 2 participants 2 messages Dec 19, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I would like the option to create an empty UBIFS file system that has compression disabled. I know I can do this via mkfs.ubifs, ubinit, etc ... but this is not helpful when just creating a empty file system for testing.

this option would be equivalent to the -x none option.

Philip

#1 lore raw
Quoted 5 lines · Philip Rakity

I would like the option to create an empty UBIFS file system that has compression disabled. I know I can do this via mkfs.ubifs, ubinit, etc ... but this is not helpful when just creating a empty file system for testing.

this option would be equivalent to the -x none option.

From Documentation/filesystems/ubifs.txt:

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"

Just make sure you use up-to-date UBIFS, because this was added recently. And I guess this should also be mentioned somewhere on the web site.

Signature · 2 lines
Best regards,
Artem Bityutskiy (Битюцкий Артём)