Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: winson4evr on July 19, 2010, 12:08:51 PM

Title: cd-rom redirect remote desktop
Post by: winson4evr on July 19, 2010, 12:08:51 PM
Hi I am new to tiny core. I am using tiny core to rdesktop to my own window computer. Right now i need to redirect my cd-rom to remote deskop. I want to mount the /dev/cdrom to /mnt/cdrom when there is a cd inserted into my cd rom and when I'm in remote desktop if the button on cd rom is pressed the /mnt/cdrom should get unmounted and eject the cd rom device. Is there anyways to do ot?

My thoughts: I have done mount and unmount the usb drive by write shell script when I am using remote computer and the shell script keep checking the usb drive. I want to use same way to do it to CDROM. The problem is 1) I have no way to detect if a cd media is inserted.
                            2) when in remote desktop If cdrom is mounted. eject command will not work!.
I have google for many days and still got no solutions. Any helps is greatly appreciated