-   Linux - Software (
-   -   share dvd drive with samba (

diamondT 09-21-2003 08:49 AM

share dvd drive with samba

I want to share my dvd drive from my linux box so it can be seen from windows machines. I've put this in my smb.conf :
comment = dvd drive on linux boxen
writable = No
locking = No
path = /mnt/cdrom2


Windows can see the "dvd" share but they recognise it as a network (hard)drive/folder. Which means that I have to mount it first under linux and then mount it under windows.
Is there a way to make Win recognise it as a DVD drive so that I can do things as if it was a local drive (e.g. eject, play DVD etc.)?



david_ross 09-21-2003 12:55 PM

Not really but you could use "root preexec" and "root postexec" to mount/unmount/eject.

All times are GMT -5. The time now is 02:40 PM.