aboutsummaryrefslogtreecommitdiff
path: root/lib/libfec.c
diff options
context:
space:
mode:
authorMatthew L. Creech <mlcreech@gmail.com>2011-05-11 17:02:28 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-20 13:16:10 +0300
commit04665066ebedb0a31335b525fb5f19df32cb8cfe (patch)
treed4a3fbdfcb70a2be76365780b4ca2410b26b81af /lib/libfec.c
parentb5251b5b1d3aea0e724a0c4cd8c95897ecb0c312 (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 'lib/libfec.c')
0 files changed, 0 insertions, 0 deletions