Have you tried linking the /media directory from within an existing (HD based) share, so that when items are auto-mounted, they can be accessed by going through the link?
Just a thought...
could you give me guide step by step? when no cd the device invisible cant see what i can mount
I tested the "linking" method, and that only works (by default) when the link points to a location within the same share...so, without a major overhaul of smb.conf
(and, possibly, other files), probably not the choice you want.
I tried another approach, though...I shared the /media
directory, and that worked OK.
, I created a new share (called media, and pointed to /media/
), and when I mounted a CDROM, it became available though the share.
The following piece of code got generated:
path = /media
comment = Transitory media
browseable = yes
public = yes
writable = yes
This will give full access to all mounted, removable media (i.e., able to change contents of USB drives, etc.). For CDROM support (which are read-only anyway), you could change writable