public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Linux can use a mountpoint for 2 Filesystems
@ 2001-11-20 19:41 Andries.Brouwer
  2001-11-20 19:43 ` H. Peter Anvin
  0 siblings, 1 reply; 4+ messages in thread
From: Andries.Brouwer @ 2001-11-20 19:41 UTC (permalink / raw)
  To: hpa, linux-kernel

hpa:

> There are real reasons to overmount a filesystem.  It's getting to be
> a usability problem, probably because Linux (UNLIKE MOST OTHER UNIXES)
> didn't allow it until just recently.  This change caused some
> problems, including with the automount daemon.  I would like to see an
> option to mount(8) to allow it, by default disallow by policy.

mount(8) does not necessarily have such information:
/etc/mtab is just a random file with random contents,
and /proc/mounts need not exist.

The cleanest way to do what you suggest would be to make the kernel
refuse an overmount unless the mount(2) flags included the
"overmount" flag.

Andries


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <Pine.LNX.4.10.10111191938450.12291-100000@master.linux-ide.org>]

end of thread, other threads:[~2001-11-20 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-20 19:41 Linux can use a mountpoint for 2 Filesystems Andries.Brouwer
2001-11-20 19:43 ` H. Peter Anvin
     [not found] <Pine.LNX.4.10.10111191938450.12291-100000@master.linux-ide.org>
2001-11-20  3:46 ` Andre Hedrick
2001-11-20  4:50   ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox