lkml.org 
[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-2.6.25: 'mkdir -p' does not work with rootdir as mount point inside a read only filesystem
On Mon, May 05, 2008 at 09:38:57AM +0200, Lothar Wa?mann wrote:
> Hi,
>
> Willy Tarreau writes:
> > > Interestingly your strace output showed a return value of EEXIST where
> > > mine had EROFS.
> >
> > Oh you're right! I did not notice. There's something odd here.
> > And I can reproduce it right now (2.6.25.1). I really have
> > EEXIST.
> >
> As I noted in my first message I have this problem with the kernel
> from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
> which is currently 2.6.26-rc1 and still exhibits this behaviour.
>
> So, this problem obviously does not exist in the 2.6.25 release kernel
> but would probably hit mainline in the 2.6.26 release.

Aye. That's ro-bind fallout we'd not noticed; will fix...

And a fine example of the reasons why
* relying on which particular errno value you get when several
are applicable is a Bad Idea(tm) and
* changing the choice of the errno value in such situation might
be legal, but is to be done with care; sometimes it really has impact...


\
 
 \ /
  Last update: 2008-05-05 14:05    [W:0.174 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site