Subject: null-mounting root
To: None <netbsd-users@netbsd.org>
From: Marton Fabo <morton@eik.bme.hu>
List: netbsd-users
Date: 01/25/2004 20:11:18
Hi!

Is it possible to mount_null or mount_overlay the filesystem root on a
directory? I tried it on 1.6ZC i386, and mount_null said the target path
and mount point were not distinct (which will always be true for /);
mount_overlay suceeded, but did nothing (the contents of / did not
show up below the mount point).

Does anyone have a clue regarding why the mount_overlay method behaves 
so strangely, and how to work that around; or how to force mount_null to 
work regardless of the non-distinct target and mount point?

thx
mortee