* Bug in mount(8)?
@ 2006-11-08 11:23 Tetsuo Handa
2006-11-08 12:19 ` Matthew Wilcox
0 siblings, 1 reply; 3+ messages in thread
From: Tetsuo Handa @ 2006-11-08 11:23 UTC (permalink / raw)
To: linux-fsdevel
Hello.
This is not a kernel problem, but I think here is the nearest place.
I noticed that mount(8) of util-linux-2.13-0.44.fc6 is passing
wrong flags when 'mount --make-unbindable' is requested.
The mount command is passing MS_MGC_VAL instead of MS_UNBINDABLE(0x20000)
for 'mount --make-unbindable', while it is passing correct flags for
'mount --make-private' 'mount --make-shared' and 'mount --make-slave'.
I don't know this bug is FC6 specific or not.
Can you reproduce?
Regards.
# mount -t tmpfs none /mnt/
# strace mount --make-unbindable /mnt/
mount("none", "/mnt", "tmpfs", MS_MGC_VAL, "") = 0
# strace -e raw=mount mount --make-unbindable /mnt/
mount(0x9d7ce20, 0x9d7ce30, 0x9d7ce40, 0xc0ed0000, 0x9d7d508) = 0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Bug in mount(8)?
2006-11-08 11:23 Bug in mount(8)? Tetsuo Handa
@ 2006-11-08 12:19 ` Matthew Wilcox
2006-11-09 19:42 ` Karel Zak
0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2006-11-08 12:19 UTC (permalink / raw)
To: Tetsuo Handa; +Cc: linux-fsdevel
On Wed, Nov 08, 2006 at 08:23:45PM +0900, Tetsuo Handa wrote:
> This is not a kernel problem, but I think here is the nearest place.
> I don't know this bug is FC6 specific or not.
You should probably report this to the FC6 bugzilla instead.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in mount(8)?
2006-11-08 12:19 ` Matthew Wilcox
@ 2006-11-09 19:42 ` Karel Zak
0 siblings, 0 replies; 3+ messages in thread
From: Karel Zak @ 2006-11-09 19:42 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Tetsuo Handa, linux-fsdevel
On Wed, Nov 08, 2006 at 05:19:37AM -0700, Matthew Wilcox wrote:
> On Wed, Nov 08, 2006 at 08:23:45PM +0900, Tetsuo Handa wrote:
> > This is not a kernel problem, but I think here is the nearest place.
> > I don't know this bug is FC6 specific or not.
>
> You should probably report this to the FC6 bugzilla instead.
Already reported. This problem has been fixed in
util-linux-2.13-0.45.fc6 which is in FC6 updates/testing/ tree. The
final update will be released at end of this week.
BTW, this problem is relevant for every distribution where is the
util-linux subtree patch by Ram Pai.
Karel
--
Karel Zak <kzak@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-09 19:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 11:23 Bug in mount(8)? Tetsuo Handa
2006-11-08 12:19 ` Matthew Wilcox
2006-11-09 19:42 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).