lkml.org 
[lkml]   [2008]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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    [W:0.063 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site