Hi David,
The fuser command will kill processes that have a device locked. Let's say
you want to unmount a filesystem called /test on /dev/hda2. You would issue
the fuser -ku /test command and all processes on that filesystem are
killed. You can then unmount it. You can also issue the fuser -u command
and it will list those processes. One thing to note: if you are in /test or
one of its subdirs you will not be able to unmount it.

mike

David Brett <[EMAIL PROTECTED]>@redhat.com on 11/24/2000 02:37:32 PM

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:
Subject:  basic question: busy devicess


In the process of testing mounting and umounting.  I ended up with a
partition, which is busy.  At least the system thinks it is busy.  This
leads to two questions.  How do you find out what is using a device?
Second how do you force a device to umount (or become free)?


david



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to