[CentOS] Problem opening CD/DVD Drive door

Rodrigo Barbosa rodrigob at suespammers.org
Sun Jul 10 20:25:52 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jul 10, 2005 at 01:52:26PM -0400, Dick Roth wrote:
> >You might want to try:
> >
> >fuser /mnt/cdrom
> >
> >and
> >
> >fuser -m /mnt/cdrom
> >
> >These will give you some clue of what is stopping you from unmonting the
> >fs.
> 
> Thank you Rodrigo!!  You pointed the way...to grip, which I tend to keep 
> open on my desktop.  It didn't appear to "own" the drive, but it was the 
> culprit.  And now I have just added another tool (fuser) to my little 
> Linux toolbox.
> 
> What I love most about being a GNU/Linux user is how much I learn from 
> other users.

You are welcome, of course.

Also, you might want to take a closer look at fuser, since it has some
other nifty uses. Many of which people usually resort to lsof for, like
discovering which process is using a given tcp/udp port.

fuser -n tcp <port_number>

I actually find myself using fuser at least once or twice a day. Not
to mention the huge number of scripts I have that use them, mostly to
see if a given file is in use. And yes, I'm awake that kind of use is
prone to race conditions if overused :)

[]s

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFC0YRQpdyWzQ5b5ckRAot3AKCnRMNl3kdFFESoP88I/acKxM80hwCdHwfV
pHjSSEAF9WNzeM7JidMqSD8=
=wT9i
-----END PGP SIGNATURE-----



More information about the CentOS mailing list