diff options
author | Matthew L. Creech <mlcreech@gmail.com> | 2011-05-11 17:02:28 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-20 13:16:10 +0300 |
commit | 04665066ebedb0a31335b525fb5f19df32cb8cfe (patch) | |
tree | d4a3fbdfcb70a2be76365780b4ca2410b26b81af /tests/fs-tests/stress/atoms/rndwrite00.c | |
parent | b5251b5b1d3aea0e724a0c4cd8c95897ecb0c312 (diff) |
mkfs.ubifs: add "-F" option for "free-space fixup"
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.
Artem: add a bit more help text, tweaked the patch a bit.
Thanks to Ben Gardiner <bengardiner@nanometrics.ca> for help.
Signed-off-by: Matthew L. Creech <mlcreech@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/stress/atoms/rndwrite00.c')
0 files changed, 0 insertions, 0 deletions