[PATCH 1/1] mkfs.ubifs: add "-F" option for "free-space fixup"

Artem Bityutskiy dedekind1 at gmail.com
Fri May 20 06:11:32 EDT 2011


On Wed, 2011-05-11 at 17:02 -0400, Matthew L. Creech wrote:
> This adds a superblock flag indicating that "free-space fixup" is needed, and
> allows it to be set by the user via the "-F" command-line option.  The first
> time the filesystem is mounted, this flag will trigger a one-time re-mapping of
> all LEBs containing free space.  This fixes problems seen on some NAND flashes
> when a non-UBIFS-aware flash programmer is used.
> 
> Signed-off-by: Matthew L. Creech <mlcreech at gmail.com>

I've tweaked your patch and added some more help text and pushed,
thanks.

I think we'll need to make a new mtd-utils release at some point. We
need to wait a bit and let people test this a bit more. Please, be
encourage to remind me to release mtd-utils if I forget about this.
Thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list