get pid of locking process

Andy Campbell usenet at
Sun Nov 10 13:57:25 PST 2002

On Sun, 10 Nov 2002 14:52:06 +0000, DJ Lucas wrote:

> DJ Lucas wrote:
>> Hello,
>> How would one go about finding out what process has a device in use and 
>> get the PID for a kill?  As a for-instance:
>> root at Name2:root# umount /mnt/lfs/usr
>> umount: /mnt/lfs/usr: device or resource busy
>> root at Name2:root#
Try ...

fuser /mnt/lfs/usr

failing that you could try get lsof which should be able to
tell you.

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list