[Nelug] Sharing CD-ROM over Samba on Fedora 9

Daniel Tweedy daniel.tweedy at gmail.com
Mon May 26 06:28:21 UTC 2008


Hi Brian, All,

It seems I have broken something.... somehow.... in that when I use the 
desktop it wont mount the cdrom there either.

Sounds very much like a headache to a) find out why, and b) then fix it.

Brian Ronald wrote:
> On Sun, 25 May 2008 07:45:47 +0100 Daniel Tweedy
> <daniel.tweedy at gmail.com> wrote:
>   
>> There isn't a /cdrom folder no
>>     
>
> This will basically be what the problem is.  If the folder you're
> sharing doesn't exist, network users won't be able to access it.
>
> Insert a CD-ROM into your system and see what directory, if any, the
> contents of the CD-ROM are mounted in.  Your setup assumes /cdrom,
> which is likely not to be the case.  I'm assuming you're familiar with
> how UNIX-like operating systems (including Linux) mount volumes into
> directories rather than using drive letters or other volume
> identifiers.  If you're not familiar with this, read up on it here:
> http://www.tuxfiles.org/linuxhelp/mounting.html
>
> Some distributions (such as Ubuntu, which I'm using) create a folder
> in /media which is named like the CD-ROM's volume label.  Thus, if I
> insert my Sony Ericsson phone driver CD, I end up with the files being
> located in /media/Pc-Suite - which is a complete pest for sharing,
> since every CD-ROM gets mounted in a different directory and I can't be
> expected to write a share definition for every CD-ROM I might want to
> share.
>
> If this is the case, then you're going to have to alter the behaviour
> of the automatic mounter that your distribution. This might not be
> easy, and if you can't get it to work you could instead try disabling
> the thing and using pre- and post-exec scripts to do the mounting
> predictably, as first suggested by Tim.
>
> An alternative in my case is to simply share /media in its entirety.
> Only hiccough there is that I might not want all of my removable
> volumes sharing - especially the one on which I keep my GPG secret key!
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nelug mailing list   -   Nelug at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/nelug
> http://www.nelug.org.uk/




More information about the Nelug mailing list