[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unmounting a cdrom




I feel like I'm asking a newbie question, but I cannot figure a graceful
way to unmount a CD on a redhat 6.0 system. When I try unmount I get the
device is busy note:

[root@loki /root]# umount /mnt/cdrom
umount: /mnt/cdrom: device is busy

At other times the fuser command tells me the PIDs of whatever is keeping
the device busy, but on this machine:

[root@loki /root]# /usr/sbin/fuser -v /mnt/cdrom
                     USER        PID ACCESS COMMAND
/mnt/cdrom           root     kernel mount  /mnt/cdrom

I try a couple of ps's to check if mount, or anything do do with cdrom is
going on, but:

[root@loki /root]# ps -aux | grep mount
root     22132  0.0  0.1  1148  392 pts/0    S    May02   0:00 grep mount
[root@loki /root]# ps -aux | grep cdrom
root     22134  0.0  0.1  1148  392 pts/0    S    May02   0:00 grep cdrom

Is this the kernel automounting daemon? What is a graceful way of
unloosing the cdrom?

eks

---------------------------------------------------------------------
Erich Schroeder                    Phone: (217)785-0033
Curator, Information Technologies  FAX:   (217)785-2857
Illinois State Museum GIS Lab      Internet: erich@museum.state.il.us
http://www.museum.state.il.us/
---------------------------------------------------------------------


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.