-----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@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)