Re: Sharing CD-ROM over Samba on Fedora 8 *solved*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



max wrote:
Daniel Tweedy wrote:
I put this line in my /etc/fstab file

/dev/sr0 /media/cdrom auto pamconsole,exec,noauto,managed 0 0

The cdrom doesn't mount on bootup which I believe to be correct due to the noauto part.

I played around with the samba config and found that the paths I was using for mount and unmount were incorrect, corrected the paths and now it mounts and unmounts fine.


Cool. Just one question though, I am not trying to be confrontational or anything, this solution automatically mounts and shares whatever is in the cd drive? I can easily imagine putting a cd, say with backups or other personal info, into the drive that I may not really want to share.

Then disable the automount options for the CD drive(s).  In Gnome:

	System->Preferences->Hardware->Removable Drives and Media

Uncheck "Mount removable media when inserted".  Note that from now on,
you'll have to manually mount the media, and there will NOT be a /media
entry for the drive to mount to.  To solve:

1. Create something like "mkdir /mnt/cdrom" and export that via Samba.
2. When you have a CD you want to share, "mount /dev/cdrom /mnt/cdrom".

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                       rps2@xxxxxxxx -
- Hosting Consulting, Inc.                                           -
-                                                                    -
- Treat each day as if it's your last...a lot of crying and whining  -
-      usually gets you what you want!              -- Sam Sledge    -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux