Subject: multiple mounts on one mountpoint?
To: None <current-users@NetBSD.ORG>
From: Giles Lean <giles@nemeton.com.au>
List: current-users
Date: 08/09/1995 20:04:37
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?

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,

Giles

--
Giles Lean             <giles@nemeton.com.au>           +61 3 9480 2118
PGP Key fingerprint =  9F FB 28 37 81 F2 AC F3  8A B0 37 E5 73 CF 39 E7