Re: Newbie having problem unmounting CD in Fedora Core 6



On 2007-08-28, super_dave_42 <super_dave_42@xxxxxxxxxxx> wrote:
I have just successfully installed Fedora Core 6, and other than some
issues with installing software caused by having no network connection
{no yum for me :-( } all was working well. That is until I tried to
eject a CD and it returned an error stating that some application had
the drive in use. I was doing the following from the icon that appears
on the Gnome desktop when the CD is mounted under my user account:
Right-click the icon, left click the Eject option on the pop-up menu.
When that didn't work I thought I would close down all open windows
and unmount it manually from a terminal window. With the terminal the
only window left open, I logged into the root account using SU. I
figured the superuser account could force the umount command to work
but still no luck. I have no idea what program might have the CD
locked up, and the error messages from umount give no clue. So here's
my two questions that arise from this:

1) Is there a more aggressive command than umount for forcing
processes and users off a mounted drive? or better still ...

2) Is there a command that will allow me to trace the processes and/or
users that are using a file? If I had a method to track down the
process that was holding me up I could then kill it. I assume that
the /dev/cda path to the CD drive would be treated just like a normal
file for the purpose of tracing open connections to it.

The 'lsof' and 'fuser' commands will help find which
processes have files open.

--
Robert Riches
spamtrap42@xxxxxxxxxxx
(Yes, that is one of my email addresses.)
.



Relevant Pages

  • Newbie having problem unmounting CD in Fedora Core 6
    ... I have just successfully installed Fedora Core 6, ... issues with installing software caused by having no network connection ... and the error messages from umount give no clue. ... Is there a more aggressive command than umount for forcing ...
    (comp.os.linux.misc)
  • Re: safely remove USB hard drive
    ... If you choose to umount it and something is still using it the ... On my system if I type eject on a command line I get the cd/dvd drive to eject. ... actually be the best command to make a removable device safe to remove. ...
    (Fedora)
  • Re: Micro$oft $uck$
    ... > as the root user. ... After you have finished using the drive, you can "umount ... The "eject" ... command will automatically unmount the device. ...
    (Fedora)
  • Re: KDE: safely remove does not safely remove
    ... To safely remove my pen drive I have to use the command ... line through the command 'umount /dev/sda1'. ... Afaik, KDE simply uses the "eject" command, and eject does ...
    (Fedora)
  • Re: [SLE] cdrom stuck under 9.1
    ... This command will dismount/unmount the drive, ... cause the drive to open or eject. ...
    (SuSE)