Subject: bin/4030: Unable to unmount filesystem mounted on ../blah
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Graff <explorer@flame.org>
List: netbsd-bugs
Date: 08/23/1997 17:25:47
>Number: 4030
>Category: bin
>Synopsis: Unable to unmount filesystem mounted on ../blah
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 23 14:35:01 1997
>Last-Modified:
>Originator: Michael Graff
>Organization:
flame.org: yes, we do know everything
>Release: Sat Aug 23 17:12:59 EDT 1997
>Environment:
System: NetBSD amberdrake.flame.org 1.2G NetBSD 1.2G (AMBERDRAKE) #3: Mon Aug 18 02:43:38 EDT 1997 explorer@kechara.flame.org:/u1/OS/NetBSD/src/sys/arch/i386/compile/AMBERDRAKE i386
>Description:
A user, in a directory of /u1/home/gregp/mnt, ran this command:
mount_procfs /proc ../blah
"mount" shows:
procfs on ../blah type procfs (local, nodev, nosuid)
and this cannot be unmounted. I have tried the following:
root@kechara# cd /
root@kechara# umount -t procfs -a
umount: /blah: not currently mounted
root@kechara# cd /home/gregp/mnt/
root@kechara# umount -t procfs -a
umount: /u1/home/gregp/blah: not currently mounted
When I wrote a small C program to issue
unmount("/home/gregp/blah", 0);
it was unmounted.
>How-To-Repeat:
See above.
>Fix:
Perhaps the -f flag should not bother checking the list of filesystems
or something...
>Audit-Trail:
>Unformatted: