tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Should sys_unmount() FOLLOW?
J. Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost> wrote:
> Did you try -- last time I tried a forced unmount with NFS server down
> it didn't work even with root being a directory because the namei() call
> would hang in VOP_LOOKUP(). Does it work these days?
It works on netbsd-7:
bacasel# mountd
bacasel# nfsd
bacasel# showmount -e
Exports list on localhost:
/mnt/test/dir 127.0.0.1
/mnt/test 127.0.0.1
bacasel# mount -t nfs 127.0.0.1:/mnt/test /mnt2
bacasel# mount
/dev/xbd0a on / type ffs (log, NFS exported, local)
/dev/xbd1a on /d type ffs (extattr, log, local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
127.0.0.1:/mnt/test on /mnt2 type nfs
bacasel# pkill -9 mountd nfsd
bacasel# ps -ax|egrep '(nfsd|mountd)'
bacasel# umount -f /mnt2
bacasel# mount
/dev/xbd0a on / type ffs (log, NFS exported, local)
/dev/xbd1a on /d type ffs (extattr, log, local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index