Re: busy devices


Subject: Re: busy devices
bryan@ak.net
Date: Sun Sep 22 2002 - 03:03:18 AKDT


On Sat, Sep 21, 2002 at 10:36:25PM -0800, Justin Dieters <enderak@gci.net> wrote:
>
> IIRC there is a command to list what processes are using like a CD-ROM,
> so you know what you need to shut down to umount it. Can someone post
> what that command is?

The command is fuser. I usually do, e.g., 'fuser -v /dev/cdrom'.
See the man page for options.

> Also, is there something that will do something similar for other
> devices, such as /dev/dsp or /dev/ttyS*?

fuser is for any file, including device files.

--
Bryan Medsker
bryan@ak.net

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Sun Sep 22 2002 - 03:05:31 AKDT