From: Al Viro <viro@ZenIV.linux.org.uk>
To: Lothar Wa?mann <LW@KARO-electronics.de>
Cc: Willy Tarreau <w@1wt.eu>, NeilBrown <neilb@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, hch@infradead.org
Subject: Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as mount point inside a read only filesystem
Date: Mon, 5 May 2008 13:02:34 +0100 [thread overview]
Message-ID: <20080505120234.GL5882@ZenIV.linux.org.uk> (raw)
In-Reply-To: <18462.47505.453068.931094@ipc1.ka-ro>
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...
next prev parent reply other threads:[~2008-05-05 12:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-30 14:50 linux-2.6.25: 'mkdir -p' does not work with rootdir as mount point inside a read only filesystem Lothar Waßmann
2008-05-02 4:52 ` Andrew Morton
2008-05-02 6:55 ` NeilBrown
2008-05-03 6:32 ` Willy Tarreau
2008-05-05 6:27 ` Lothar Waßmann
2008-05-05 7:02 ` Willy Tarreau
2008-05-05 7:08 ` Lothar Waßmann
2008-05-05 7:28 ` Willy Tarreau
2008-05-05 7:38 ` Lothar Waßmann
2008-05-05 12:02 ` Al Viro [this message]
2008-05-02 11:32 ` Dan Noé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080505120234.GL5882@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=LW@KARO-electronics.de \
--cc=akpm@linux-foundation.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=w@1wt.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox