From: Peter Samuelson <peter@cadcamlab.org>
To: "Michael D. Crawford" <crawford@goingware.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: OK to mount multiple FS in one dir?
Date: Mon, 5 Feb 2001 18:06:46 -0600 [thread overview]
Message-ID: <20010205180646.B32155@cadcamlab.org> (raw)
In-Reply-To: <3A7E1942.5090903@goingware.com>
In-Reply-To: <3A7E1942.5090903@goingware.com>; from crawford@goingware.com on Mon, Feb 05, 2001 at 03:08:50AM +0000
[Michael D. Crawford]
> I found I could mount three partitions on /mnt
Yes. New feature, appeared in the 2.4.0test series, or shortly before.
> and they'd all show up as mounted at /mnt in the "mount" command, but
> if I unmounted one of them (only tried with the currently visible
> one), then it appeared that there were no filesystems mounted there,
> but I could continue umounting until the other two were gone.
util-linux gets rather confused by this feature. They say newer
versions fix this.
> But I had the 2.10r util-linux sources on my machine and installed
> mount and umount from it, and I find that it gets it right mostly
> when I mount and unmount multiple things, with the exception that if
> /dev/sda5 was mounted before /dev/sda1, then if I give the command
> "umount /dev/sda5", sda1 is the one that gets unmounted rather than
> sda5, so it takes the most recently mounted filesystem rather than
> the one you specify.
I think this is a kernel limitation. 'umount' takes '/dev/sda5' and
turns it into '/mnt/test' and calls umount("/mnt/test"). The kernel
then unmounts whatever is on "top" of /mnt/test.
I don't think there's anything umount can do about this behavior.
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-02-06 0:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-05 3:08 Michael D. Crawford
2001-02-06 0:06 ` Peter Samuelson [this message]
2001-02-06 19:47 ` Thorsten Glaser Geuer
2001-02-06 20:46 ` Wakko Warner
2001-02-07 6:25 ` Peter Samuelson
2001-02-07 7:00 ` John R Lenton
2001-02-25 6:10 ` Alexander Viro
2001-02-07 22:49 ` David L. Nicol
2001-02-25 6:12 ` Alexander Viro
2001-02-25 6:08 ` Alexander Viro
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=20010205180646.B32155@cadcamlab.org \
--to=peter@cadcamlab.org \
--cc=crawford@goingware.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®