Daniel Tweedy wrote:
Thank you for the reply but it didn't work, the problem I think I am having is one of it not mounting and unmounting the cdrom.You may want to look at automount. You can set it up so that when you try to access /mnt/cdrom it auto-mounts the CD for you.Fedora 8 mounts the cdroms in the /media folder however a folder with the name of the cdrom shows up there, i.e. say for example I had a cdrom with the name "FedoraList" I would have /media/FedoraList in that folder which makes it difficult to share the cdrom drive itself.Also would it be possible for someone to explain this to me as I didn't understand it :-# If you want to run scripts (preexec/root prexec/print command/...) please # put them into the /var/lib/samba/scripts directory so that smbd will be # allowed to run them.# Make sure you COPY them and not MOVE them so that the right SELinux context # is applied, to check all is ok use restorecon -R -v /var/lib/samba/scriptsI dont understand where to get the scripts from to put them in that folder. I am using ;- root preexec = /sbin/mount /media/cdrom root postexec = /sbin/umount /media/cdrom
I have used it in the past to mount CD-ROM images, but it can mount a real CD as well. (Loop mounting 20 or more CD images at one time does not work so well...)
Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!
Attachment:
signature.asc
Description: OpenPGP digital signature
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list