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

Artem Bityutskiy
2008-12-27T12:25:18Z

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@gentoo.org>

Pushed, thanks.

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