From: Guest section DW <dwguest@win.tue.nl>
To: "J . A . Magallon" <jamagallon@able.es>,
Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: mount-2.11e bug ?
Date: Fri, 27 Jul 2001 11:53:50 +0200 [thread overview]
Message-ID: <20010727115350.A9407@win.tue.nl> (raw)
In-Reply-To: <20010727013138.A4186@werewolf.able.es>
In-Reply-To: <20010727013138.A4186@werewolf.able.es>; from J . A . Magallon on Fri, Jul 27, 2001 at 01:31:38AM +0200
On Fri, Jul 27, 2001 at 01:31:38AM +0200, J . A . Magallon wrote:
> Can anybody tell me if there was a bug in mount from util-linux-2.11e that could
> do things like this with new kernels:
>
> /etc/fstab:
> ...
> tmpfs /dev/shm tmpfs defaults,size=128M 0 0
> ...
>
> werewolf:~/soft/util/util-linux-2.11e/mount# df
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda1 248895 83086 152959 36% /
> /dev/sda2 3099292 2092872 848984 72% /usr
> /dev/sda3 4095488 1603796 2283652 42% /home
> /dev/sda5 1027768 8 975552 1% /toast
> /home/soft/util/util-linux-2.11e/mount/tmpfs
> 131072 0 131072 0% /dev/shm
>
> 2.11h works ok.
Yes, there was.
Mount does a canonicalize() on the path names of device and mount point.
Thus, tmpfs when your current directory is ~/soft/util/util-linux-2.11e/mount
becomes /home/soft/util/util-linux-2.11e/mount/tmpfs.
However, this only happens when the thus obtained pathname points at an
actual file. In a few mount versions the realpath() routine also did this
when there is no such file.
Andries
prev parent reply other threads:[~2001-07-27 9:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-26 23:31 mount-2.11e bug ? J . A . Magallon
2001-07-27 9:53 ` Guest section DW [this message]
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=20010727115350.A9407@win.tue.nl \
--to=dwguest@win.tue.nl \
--cc=jamagallon@able.es \
--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