[Nelug] Sharing a cdrom over Samba - A How To

Daniel Tweedy daniel.tweedy at gmail.com
Fri Jun 6 21:08:37 UTC 2008


I did learn something yes, took a lot of googling and reading manuals 
and heavy use of man command, which I never really found a use for.

I used ubuntu once purely for the fact that mythtv actually works on it 
great without any annoyances in installing this that and the other, cant 
get mythtv via yum on fedora sadely, and never managed to get it to work 
correctly installing all the individual packages it requires, and I 
never gave up with that either I tried on and off for like 6-7 months.

I would probably use it again if it wasn't for the fact that I never 
really notice the pc is running fedora in that I only use xfce once or 
twice every few months the rest of the time its just sat idle as a file 
server or me developing applications for the web on it.

Tim wrote:
> Well done on sticking with it. Hope you learnt something along the way :)
>
> I started using Ubuntu because of the great community support!
>
> Tim 
>
> -----Original Message-----
> From: nelug-bounces at mailman.lug.org.uk
> [mailto:nelug-bounces at mailman.lug.org.uk] On Behalf Of Daniel Tweedy
> Sent: 06 June 2008 08:52
> To: North East Linux User Group mailing list
> Subject: [Nelug] Sharing a cdrom over Samba - A How To
>
> Hi All,
>
> After much blood, sweat and some tears I have finally won and got the cdrom
> to share on fedora, but I believe this will work on all distros.
>
> Firstly edit the /etc/fstab file to have the following in it :- (note: 
> you may need to change the path in the first column, not sure what its
> called tho, partition maybe?)
>
> /dev/sr0 /media/cdrom auto pamconsole,exec,noauto,managed 0 0
>
> Next I fiddled and played around with the original smb.conf I posted here.
>
> [cdrom]
>     comment = Linux CD-ROM
>     path = /media/cdrom
>     read only = yes
>     locking = no
>     root preexec = /bin/mount /media/cdrom
>     root postexec = /bin/umount /media/cdrom
>
> I also had to create a new directory called cdrom inside of the /media
> folder.
>
> Do all the above and I believe it will all work fine, it takes a few seconds
> to mount and unmount, but once you exitted the folder a few seconds later
> you can eject the cd.
>
> Was just looking back on some of the mails and suggestions and I noticed
> that Tim had suggested the above part for samba, so I was halfway there and
> never realised it ah well not to worry its all up and running and working
> great now.
>
> Note: I did this on Fedora 8 as Fedora 9 xfce was really really lagging on
> my poor little 1ghz mini-itx box.
>
> p.s. No offence meant but the fedora-list people are a bit of a strange
> bunch of people, some guy suggested that I copy my cdrom to the hard drive
> and then share that o.O others told me to change the security settings.... I
> tried that but didn't see what that had to do with sharing a cd drive.
>
> _______________________________________________
> 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