Re: [Vserver] Unexpected behaviour with bind mounts

From: Jim Wight <j.k.wight_at_ncl.ac.uk>
Date: Tue 11 Oct 2005 - 14:38:20 BST
Message-Id: <1129037900.23173.622.camel@beadnell.ncl.ac.uk>

On Mon, 2005-10-10 at 20:09 +0200, Herbert Poetzl wrote:
> On Mon, Oct 10, 2005 at 02:28:01PM +0100, Jim Wight wrote:
> > Implicit unmounts are not happening in my case. If I start and stop the
> > vserver a number of times I end up with a pile of multiple identical
> > mounts (according to df), but as I mentioned in my original message
> > there are no corresponding entries in /proc/mounts (as there are when I
> > perform the same mounts manually). The other odd thing is that df shows
> > different numbers compared with the manual mount case: it shows the
> > numbers for the filesystem that the mount point is in, rather than for
> > the mounted filesystem.
>
> hmm .. maybe you want to use the -n option to
> mount, so that mount does not write stuff to
> the mtab file?

That has certainly got rid of the messages and odd-looking df output,
but is it a case of 'out of sight, out of mind'? The mounts do work - so
far - but is it normal to have to use -n? I don't think I've ever seen
it mentioned in all the searching I've done trying to find out how to do
things.

Jim

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Oct 11 14:38:45 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 11 Oct 2005 - 14:38:51 BST by hypermail 2.1.8