Package: psmisc
Version: 21.5-1

When I'm trying to umount a particular partition and it doesn't work,
I use fuser to find out why.  This works great -- unless the reason is
that the partition is being exported to NFS via /etc/exports and
/usr/sbin/exportfs.

When the partition has been exported, fuser doesn't show anything.
Fuser -v just shows the kernel mount.

I consider this a bug: fuser -v should also show the NFS export.

Here's a simple scenario where it fails.  At first, there's a process
(my shell) using the directory.  But even when I move away, the partition
won't umount -- until I unexport it.  Fuser is oblivious to this.

radio:/i# umount /i
umount: /i: device is busy
umount: /i: device is busy
radio:/i# fuser /i
/i:                  23605c
radio:/i# fuser -v /i

                     USER        PID ACCESS COMMAND
/i                   root      23605 ..c..  bash
                     root     kernel mount  /i
radio:/i# cd /
radio:/# fuser /i
/i:
radio:/# fuser -v /i

                     USER        PID ACCESS COMMAND
/i                   root     kernel mount  /i
radio:/# umount /i
umount: /i: device is busy
umount: /i: device is busy
radio:/# showmount -e
Export list for radio:
/i new.toad.com
radio:/# exportfs -u -av
unexporting new.toad.com:/i from kernel
radio:/# fuser -v /i

                     USER        PID ACCESS COMMAND
/i                   root     kernel mount  /i
radio:/# umount /i
radio:/#

        John Gilmore


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to