Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-21-2003, 08:49 AM   #1
LQ Newbie
Registered: Jun 2003
Location: Volos/Greece
Distribution: SuSE 9.0 Pro
Posts: 12

Rep: Reputation: 0
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.)?


Old 09-21-2003, 12:55 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
creat samba share for DVD player? Lleb_KCir Linux - Software 5 03-12-2005 02:39 PM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
samba share to lettered drive Robert0380 Linux - Software 2 07-04-2003 02:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration