pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
298 stars 107 forks source link

ubifs: Add configuration for space-fixup #234

Closed ee-smuxel closed 5 months ago

ee-smuxel commented 5 months ago

Allows passing the '-F' flag to force file-system free space to be fixed up on first mount.

michaelolbrich commented 5 months ago

Hmm, I'm not entirely opposed to this, but why not just use extraargs for this?

ee-smuxel commented 5 months ago

You could argue with any argument that it could be passed with extraargs to be fair.

I think it's worth an options as it's the recommended way of generating a UBIFS image when one can not flash it through ubiformat which is a common-ish case. It's also one of the options specifically talked about in the mtd-linux FAQ: http://linux-mtd.infradead.org/faq/ubifs.html#L_free_space_fixup.

michaelolbrich commented 5 months ago

Ok, that sounds like the option is prominent enough to deserve its own property here.