[Tip] Lock the hardware eject button of the cdrom in ubuntu
Tha.Suresh
jemenisuresh at gmail.com
Sun Nov 21 11:55:49 UTC 2010
Lock the hardware eject button of the cdrom
$ eject -i 1
This command will lock the hardware eject button of your cdrom drive.
Some uses are:
1: If you have a toddler and has discovered the cdrom button
2: If you are carrying a laptop in a bag or case and don’t want it to
eject if the button is inadvertently pressed.
To unlock the button use:
$ eject -i 0
For more info see the “eject” man page.
Ex:
thasu at ubuntu:~$ eject -i 1
CD-Drive may NOT be ejected with device button
thasu at ubuntu:~$ eject ( see the reaction )
sathia at ubuntu:~$ eject -i 0
CD-Drive may be ejected with device button
thasu at ubuntu:~$ eject ( now see the reaction )
;-)
--
Regards,
Tha.Suresh
My experiences with Linux are here,
http://thasulinux.wordpress.com
More information about the ubuntu-users
mailing list