LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   share dvd drive with samba (https://www.linuxquestions.org/questions/linux-software-2/share-dvd-drive-with-samba-95123/)

diamondT 09-21-2003 08:49 AM

share dvd drive with samba
 
Hello,

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 :
--------
[dvd]
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.)?

Tnx,

Tom.

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.