[PATCH] mkfs.jffs2: fix dir creation in /

Artem Bityutskiy dedekind at infradead.org
Sat Dec 27 07:25:54 EST 2008


On Fri, 2008-12-26 at 22:35 -0500, Mike Frysinger wrote:
> With older mtd-utils, creating a directory in the root worked fine.  With
> current git, the parent dir search algo breaks this.
> 
> For example, just take the current git tree, build it up, and then run:
> $ ./mkfs.jffs2 -d . -D device_table.txt -o /dev/null
> mkfs.jffs2: skipping device_table entry '/dev': no parent directory!
> mkfs.jffs2: skipping device_table entry '/dev/mem': no parent directory!
> ...
> Doing `mkdir ./dev` first works around the issue, but where's the fun in
> that.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>

Pushed, thanks.

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




More information about the linux-mtd mailing list