Subject: Re: Double mount
To: Adam Ciarcinski <adam@pulstar.albedo.com.pl>
From: Guenther Grau <Guenther.Grau@bk.bosch.de>
List: current-users
Date: 02/19/1999 14:17:18
Adam Ciarcinski wrote:
> 
> Hi,
> 
> Maybe I am wrong, but... is it possible to mount two (or more) devices
> to the same directory?
> 
> Accidently I have done:
> mount -t msdos /dev/wd1e /mnt
> and
> mount -t msdos /dev/wd0f /mnt
> and it worked.

Sure, it is possible, as you just proved yourself :-)
Mount will mount on top of an existing mount point.
Anything "below" it will become invisible until the
corresponding u(n)mount. There is a special filesystem
which allows the lower filesystem to show trough the
mounted filesystem and is still accessible. I forgot
what name the filesystem type was (nullfs?), though.
Browsing through the mount_* manpages will help... :-)

  Guenther