Subject: Re: UNION mounting
To: None <>
From: Bernd Sieker <>
List: current-users
Date: 10/23/2000 18:29:09
On 23.10.00, 12:41:18, Chris Pinnock wrote:
> This is with NetBSD 1.5_ALPHA2.
> steinitz# mount_union /usr/src /sources/src-1.5/
> steinitz# mount -t union
> <above>:/usr/src on /sources/src-1.5/ type union (local)
> steinitz# umount /sources/src-1.5/
> umount: /sources/src-1.5: not currently mounted
> steinitz# umount /sources/src-1.5
> umount: /sources/src-1.5: not currently mounted

You can still unmount it using the -R parameter:

  umount -R /sources/src-1.5/
  umount -R /sources/src-1.5

Passes the path directly to unmount() (see unmount(2)), without trying
to be "smart".

the unmount() system call knows how to deal with missing or
superfluous trailing slashes and does the Right Thing. The umount
shell command unfortunately cannot handle mounts with a trailing /
properly. I'm not sure if this should be considered a bug or just a
nuisance. I'm careful never to mount filesystems with a trailing /.

> Has this been fixed in 1.5_BETA? If not, should I send-pr?
> best wishes,
> -- 
> Chris 

Bernd Sieker

NetBSD: Stop, Drop, and Load
		-- Andrew Gillham