Subject: kern/28901: nfs won't unmount if it doesn't have a leading /
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: John Klos <john@ziaspace.com>
List: netbsd-bugs
Date: 01/08/2005 01:00:00
>Number:         28901
>Category:       kern
>Synopsis:       nfs won't unmount if it doesn't have a leading /
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 01:00:00 +0000 2005
>Originator:     John Klos
>Release:        NetBSD 1.6.2
>Organization:
ZiaSpace Productions
	
>Environment:
	
	
System: NetBSD grittykitty.sixgirls.org 1.6.2_STABLE NetBSD 1.6.2_STABLE (GRITTYKITTY-$Revision: 1.637 $) #0: Mon Aug  9 23:24:36 PDT 2004     john@grittykitty.sixgirls.org:/usr/src/sys/arch/macppc/compile/GRITTYKITTY macppc
Architecture: powerpc
Machine: macppc
>Description:
	
When I mount an NFS volume, but I do not use an absolute path to the mountpoint,I can not umount the NFS mount:

mount_nfs shivav4:/export/pkgsrc test

Filesystem             512-blocks     Used     Avail Capacity  Mounted on
/dev/wd0a                50892140  4308344  44039188     8%    /
kernfs                          2        2         0   100%    /kern
procfs                          8        8         0   100%    /proc
shivav4:/export/pkgsrc  149495004 72385278  69634974    50%    test

umount test
umount: /usr/john/test: not currently mounted

grittykitty: {11} umount /usr/john/test
umount: /usr/john/test: not currently mounted

rmdir test
rmdir: test: Device busy

mount_nfs shivav4:/export/raq /usr/john/test2
(succeeds)
umount test2
(succeeds)
>How-To-Repeat:
	
	See above.
>Fix:
	
	No idea.

>Unformatted: