Remember that some time ago somebody had a cd stuck. I can e.g. install some programs under Yast from the disc but if I want to change the disc or to get it out the disc is not ejected. Think there was a command for ejecting the cd. Best would be of course to have it working. Anybody can help?
* Constant Brouerius van Nidek
Remember that some time ago somebody had a cd stuck. I can e.g. install some programs under Yast from the disc but if I want to change the disc or to get it out the disc is not ejected. Think there was a command for ejecting the cd.
there is an obscure, relatively unknown command named.... eject NAME eject - eject removable media I suggest you consult 'man eject', but the relevant command: eject /dev/<dev-name> eject /media/dvd eject /dev/sr0 If the drive is *truly* stuck, this will probably not work. Then a small paper-clip straightened and inserted into the small hole normally front left just below the door works manually. Note: If the drive is currently mounted, you *would* need to umount or power down. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Tuesday 21 September 2004 00:58, Patrick Shanahan wrote:
* Constant Brouerius van Nidek
[09-20-04 11:56]: Remember that some time ago somebody had a cd stuck.
there is an obscure, relatively unknown command named.... eject
eject it was ! ;-) Thanks.
NAME eject - eject removable media
I suggest you consult 'man eject', but the relevant command: eject /dev/<dev-name>
eject /media/dvd eject /dev/sr0
eject alone works also as the command looks for the devices which use eject and if the device is mounted it says it will try to umount too.
If the drive is *truly* stuck, this will probably not work. Then a small paper-clip straightened and inserted into the small hole normally front left just below the door works manually. Note: If the drive is currently mounted, you *would* need to umount or power down. --
Tried the paperclip already but it did not work this time.
* Constant Brouerius van Nidek
Tried the paperclip already but it did not work this time.
If you were powered-down, then eject probably will not help either :^( -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
* Constant Brouerius van Nidek
eject alone works also as the command looks for the devices which use eject and if the device is mounted it says it will try to umount too.
I have three devices (dvd,cdrom,ls120) and 'eject' alone will only address the first device it finds. If you only have a single removable media device, yes, 'eject' is sufficient and appropriate. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Tuesday 21 September 2004 01:50, Patrick Shanahan wrote:
* Constant Brouerius van Nidek
[09-20-04 13:39]: eject alone works also as the command looks for the devices which use eject and if the device is mounted it says it will try to umount too.
I have three devices (dvd,cdrom,ls120) and 'eject' alone will only address the first device it finds. If you only have a single removable media device, yes, 'eject' is sufficient and appropriate. -- That is my case. Only one device. But what happens if you give the command three times? Only curious ;-)
* Constant Brouerius van Nidek
That is my case. Only one device. But what happens if you give the command three times? Only curious ;-)
It apparently only addresses the first valid device, so nothing after the first eject. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Monday 20 September 2004 20:50, Patrick Shanahan wrote:
* Constant Brouerius van Nidek
[09-20-04 13:39]: eject alone works also as the command looks for the devices which use eject and if the device is mounted it says it will try to umount too.
I have three devices (dvd,cdrom,ls120) and 'eject' alone will only address the first device it finds. If you only have a single removable media device, yes, 'eject' is sufficient and appropriate.
eject accepts parameters (man eject ;P <running away for shelter>) suppose /dev/hdb = dvd, /dev/hdc = cdrom, /dev/hdd = ls120; One can eject each of those with eject /dev/hdb, eject /dev/hdc, eject /dev/hdd. A great combo is: 1) eject /media/cdrom => umounts and ejects 2) replace CD/DVD 3) mount /media/cdrom => pulls in drivebay (à la eject -t) and mounts Cheers, Leen
* Leendert Meyer
eject accepts parameters (man eject ;P <running away for shelter>)
Not guilty 'this time'. On you, you need to read earlier in the thread <grin>.
suppose /dev/hdb = dvd, /dev/hdc = cdrom, /dev/hdd = ls120; One can eject each of those with eject /dev/hdb, eject /dev/hdc, eject /dev/hdd.
above..
A great combo is:
1) eject /media/cdrom => umounts and ejects 2) replace CD/DVD 3) mount /media/cdrom => pulls in drivebay (à la eject -t) and mounts
good observation, would be handy for someone who accessed many different media. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Tuesday 21 September 2004 16:09, Patrick Shanahan wrote:
* Leendert Meyer
[09-21-04 08:25]: eject accepts parameters (man eject ;P <running away for shelter>)
Not guilty 'this time'. On you, you need to read earlier in the thread <grin>.
participants (3)
-
Constant Brouerius van Nidek
-
Leendert Meyer
-
Patrick Shanahan