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.)?