login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
5
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as mount point inside a read only filesystem
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Willy Tarreau <w@...>
To: Lothar <LW@...>
Cc: NeilBrown <neilb@...>, Andrew Morton <akpm@...>, <linux-kernel@...>
Subject:
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as mount point inside a read only filesystem
Date: Monday, May 5, 2008 - 3:28 am
On Mon, May 05, 2008 at 09:08:00AM +0200, Lothar Waßmann wrote:
quoted text
> Hi, > > Willy Tarreau writes: > > > > open(".", O_RDONLY|O_LARGEFILE|O_DIRECTORY) = 3 > > > > chdir("/") = 0 > > > > mkdir("dev", 0755) = -1 EEXIST (File exists) > ^^^^^^ > [...] > > > This is what strace shows in my case: > > > mkdir("/", 0777) = -1 EEXIST (File exists) > > > stat64("/", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 > > > mkdir("/dev/", 0777) = -1 EROFS (Read-only file system) > ^^^^^ > > What puzzles me is why you have this problem only with a new kernel. > > I suspect that previous ones did report EEXIST and now we report > > EROFS for an existing directory on an ro fs. > > > 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. Willy --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
linux-2.6.25: 'mkdir -p' does not work with rootdir as mount...
, Lothar Waßmann
, (Wed Apr 30, 10:50 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Andrew Morton
, (Fri May 2, 12:52 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Dan Noé
, (Fri May 2, 7:32 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, NeilBrown
, (Fri May 2, 2:55 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Willy Tarreau
, (Sat May 3, 2:32 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Lothar Waßmann
, (Mon May 5, 2:27 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Willy Tarreau
, (Mon May 5, 3:02 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Lothar Waßmann
, (Mon May 5, 3:08 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Willy Tarreau
, (Mon May 5, 3:28 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Lothar Waßmann
, (Mon May 5, 3:38 am)
Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as m...
, Al Viro
, (Mon May 5, 8:02 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric Sandeen
Re: [RFC] Heads up on sys_fallocate()
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt
Andrew Morton
-mm merge plans for 2.6.23
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
802 guests
online.
Online users
kathykul90
strcmp
chrisbradshaw
Syndicate