[PATCH] busybox: fix mkdir -p on read only file systems

Peter Korsgaard jacmet at uclibc.org
Sun May 18 00:22:19 PDT 2008


>>>>> "Denys" == Denys Vlasenko <vda.linux at googlemail.com> writes:

Hi,

 >> mkdir /var/lib/blah worked, mkdir -p didn't. With the patch it does.

 Denys> Can you *show* (as opposed to "describe") the problem?
 Denys> Show the successful run of coreutils' mkdir -p,
 Denys> then failing bbox mkdir -p with the same argument(s),
 Denys> and finally a straced run of the same failing mkdir -p.

I've tested a bit more, and it seems to be a change of behaviour
(regression?) in the kernel since 2.6.26-rc1 - I cannot reproduce it
on older kernels. I'll investigate further, but for now it seems like
the problem is in the kernel, so you can ignore the patch.

Sorry for the noise.

-- 
Bye, Peter Korsgaard


More information about the busybox mailing list