Subject: Re: multiple mounts on one mountpoint?
To: None <current-users@NetBSD.ORG>
From: Mark Everett - Sun Parallel Open Systems <everettm@triesta.East.Sun.COM>
List: current-users
Date: 08/10/1995 10:08:05
> I would have expected that trying to mount something on a directory
> already in use as a mount point would have given an error.  It doesn't
> on either 1.0/i386 or -current/i386.
> Does someone want to claim this as a feature, or is it known to be
> very awkward to fix, or should I send-pr it?

This is entirely legal.  Why should it be disallowed?  I'm just


> Learn something every day, by all means, but I'm not sure what this
> *is*.
> Example:
> # mount /dev/cd0a /mnt
> # mount /dev/sd1a /mnt			(No error here)
> # ls /mnt				(Displays /dev/sd1a contents)
> # umount /dev/cd0a			(umounts /dev/sd1a?!?)
> # ls /mnt				(Displays /dev/cd0a contents)
> # umount /dev/cd0a			(Phew!  No panic!)
> Totally bemused,