You probably have a terminal open that has a shell whose current working
directory is on the drive.
$ cd /media/mycdrive
$ bash
$ cd /home/me
now your prompt shows you in me's home directory, but the parent shell's
pwd is on the cd drive. This will tell you the device is busy because
the shell is open.
This is the one that gets me more times than not.
HTH
Kevin
On Mon, 2011-11-28 at 15:02 -0700, Michael Havens wrote:
> Thanks Bejamin! It says the device is busy. It isn't running and the
> program that was accessing it has completed. How do I figure out what
> process is running on it?
>
> bmike1@Michael-Notebook:/mnt/dvdrw$ sudo ps -a
> [sudo] password for bmike1:
> PID TTY TIME CMD
> 2094 pts/1 00:00:00 man
> 2105 pts/1 00:00:00 pager
> 2197 pts/0 00:00:00 sudo
> 2426 pts/0 00:00:00 ps
> bmike1@Michael-Notebook:/mnt/dvdrw$
>
> bmike1@Michael-Notebook:/mnt/dvdrw$ eject /dev/dvdrw
> Unmount failed: Cannot unmount because file system on device is busy
> eject: unmount of `/media/Linux Mint 12 32-bit' failed
> bmike1@Michael-Notebook:/mnt/dvdrw$
>
>
> On Mon, Nov 28, 2011 at 2:51 PM, Benjamin Browning
> <benb@bensbrowning.com> wrote:
> On Mon, Nov 28, 2011 at 2:48 PM, Michael Havens
> <bmike1@gmail.com>
> wrote:> I am having difficulties ejecting the CD now. It
> ejected once,
> I switched
> 'eject /dev/dvdrw' might work, or at least tell you why it
> isn't working :)
>
> ~Ben
> ---------------------------------------------------
> PLUG-discuss mailing list -
> PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
>
> --
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss