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

Re: (Child) Locking the CD tray in software



On Wednesday 16 February 2005 18:01, Nazri Ramliy wrote:
> Hi list.
>
> My 15 months old amuses himself by opening and closing the CDROM tray
> on my box by pressing the eject button, waits for the tray to come
> out, then  pushes it back in.  He does this over and over.
>
> I can do
>
> while true; do cdclose; done
>
> but this seems a bit of an overkill for this task.
>
> Anybody know of any cd tools to keep the tray closed, i.e.  ignoring
> the signal from the eject button?
>
>
> Kind regards,
>
> Nazri Ramliy

Open a file on the CD, and it will not eject.  You do need to have a CD in
the drive, and be careful that editors which load the content of files do not
keep the file open.

David



Reply to: