lkml.org 
[lkml]   [2008]   [May]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"NeilBrown" <>
DateFri, 2 May 2008 16:55:43 +1000 (EST)
SubjectRe: linux-2.6.25: 'mkdir -p' does not work with rootdir as mount point inside a read only filesystem
On Fri, May 2, 2008 2:52 pm, Andrew Morton wrote:
> On Wed, 30 Apr 2008 16:50:20 +0200 Lothar Wa__mann
> <LW@KARO-electronics.de> wrote:
>
>> Hi,
>
> (y'know that ~4000 people read your email and hit 'n'?  Except for me?
> That's one bug I'd like to get fixed)

Tricky....
>
>> when trying to create a directory path with 'mkdir -p' with the root
>> being a mount point of a writeable filesystem that exists inside a
>> read-only file system, mkdir return -EROFS.

My guess is that you have an old/buggy version of mkdir.

What does
    mkdir --version

say?
Mine says:
mkdir (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
etc...

What does

   strace mkdir -p /dev/.udev/db

show ???

NeilBrown




\
 
 \ /
  Last update: 2008-05-02 08:59    [from the cache]
©2003-2008