patch for mkfs.ubifs devtable.c increment in dev_table is wrongly interpreted
Mike Frysinger
vapier.adi at gmail.com
Sun Aug 2 23:48:11 EDT 2009
On Sun, Aug 2, 2009 at 10:04, Daniel Neukomm wrote:
> patch for mkfs.ubifs devtable.c increment in dev_table is wrongly
> interpreted
>
> with the device table one can add /dev entries to the root file system
> image.
> The device table file contains among others the fields minor, start,
> increment and count.
> If there is an entry with minor=0 start=0 increment =32 and count=4 the
> mkfs.ubifs makes
> 128 device entries, with minor numbers from 0 to 127
> The correct version makes 4 entries with minor number 0,32,64,96.
>
> /dev/mtd c 640 0 0 90 0 0 2 7
> This gives 14 devices /dev/mtdXX instead of 7 devices.
> Due to this error mtd_debug info /dev/mtd3 delivers the information of
> /dev/mtd1 instead of.
> diff --git a/mkfs.ubifs/devtable.c b/mkfs.ubifs/devtable.c
> index 236a6e7..e2d96dc 100644
all patches should include signed-off-by tags. please read the
Documentation/SubmittingPatches file in the linux kernel source code
for some guidelines.
-mike
More information about the linux-mtd
mailing list