Nick Kay wrote:
At 07:36 19/04/99 -0400, you wrote:
April 19, 1999
Good Morning to all,
I have a problem unmounting CD-ROMs, floppy drives, samba mounts, etc.
When I umount anything it always tells me the device is busy, try later.'
Is there a way to get around this??
Usually this is caused by a process running that requires the mount,
most often (imho) it is bash because someone is logged and is sitting
in a directory on the mounted device.
Try "cd /", "umount /mnt/{whatever}"
hih
nick@nexnix
Ken
I had this type of problem and then on one of the newsgroups someone
mentioned the "fuser" command. man fuser may shed some light. Here is
what I got after I started listening to an audio cd with the kscd
application. (this is run from an xterm)
---
[onion@localhost onion]$ /usr/sbin/fuser -v /dev/cdrom
USERPID ACCESS COMMAND
/dev/cdrom onion 900 f kscd
[onion@localhost onion]$
---
The complete pathname for fuser was used since /usr/sbin is not in the
"average" user's (onion, in this case) path. Having a musical cd-rom is
not likely to be the cause of the problem you're describing, but I think
the "fuser -v " will be useful to identify who/what's using the
particular device/file you're trying to "umount".
Hope this helps.
gerry