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

Daniel Tweedy daniel.tweedy at gmail.com
Mon May 26 07:56:53 UTC 2008


Yeah I did find that out too, although never tried it.

It doesn't give an awful of information when try to mount the file 
through the desktop just says "failed to mount volume".

I will give that mount all a try later on, as am just leaving for work :-)

Tim wrote:
> I have boken many Linux installs and still do now :) I now use Virtual 
> machines a lot, as it is quicker to regress them when I am 
> experimenting and breaking things.
>
> As a side note if you have any iso images of the CD then you could try 
> mounting an ISO and sharing it, as it will give you control over the 
> names used as well.
>
> ie
> mount -t iso9660 -o loop image.iso /media/ISO
>
> In terms of the hardware side, what happens when you right click over 
> CD/DVD and select mount while a CD is inserted.
>
> Other tips are try running mount all as root and check related cdrom 
> entries in /etc/fstab (make sure you backup this file before changing 
> it :) )
>
> ------------------------------------------------------------------------
> *From*: Daniel Tweedy <daniel.tweedy at gmail.com>
> *Sent*: 26 May 2008 07:29
> *To*: North East Linux User Group mailing list <nelug at mailman.lug.org.uk>
> *Subject*: Re: [Nelug] Sharing CD-ROM over Samba on Fedora 9
>
> 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
> > 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/
>
> _______________________________________________
> Nelug mailing list - Nelug at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/nelug
> http://www.nelug.org.uk/
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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