From d49567ea27ee32a7733f8c9b54eacdba10b1860d Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 28 Jan 2009 14:19:43 +0200 Subject: mkfs.ubifs: support reserved space allocation UBIFS may reserve some amount of flash space for the super-user, ant this amount is stored in the superblock. Currently mkfs.ubifs always puts 0 there. This patch adds -R option which may be used to specify size of the reserved space. Signed-off-by: Artem Bityutskiy --- mkfs.ubifs/lpt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mkfs.ubifs/lpt.c') diff --git a/mkfs.ubifs/lpt.c b/mkfs.ubifs/lpt.c index 48ae03f..c8fb22c 100644 --- a/mkfs.ubifs/lpt.c +++ b/mkfs.ubifs/lpt.c @@ -549,6 +549,7 @@ int create_lpt(struct ubifs_info *c) c->nhead_lnum = lnum; c->nhead_offs = ALIGN(len, c->min_io_size); + dbg_msg(1, "lpt_sz: %d", c->lpt_sz); dbg_msg(1, "space_bits: %d", c->space_bits); dbg_msg(1, "lpt_lnum_bits: %d", c->lpt_lnum_bits); dbg_msg(1, "lpt_offs_bits: %d", c->lpt_offs_bits); -- cgit v1.2.3