Re: automounting usb hardrive on bootup?

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

 



Ferindo Middleton wrote:
> I have an external usb hard drive. When I login using gnome it appears
> in "Places" in the "Computer" icon but it doesn't appear to automount
> itself to the file system because in I have it as an Samba share and it
> is only available to Samba connections to the device until after someone
> tries to use it locally from the server itself. How do I get it to
> automount itself to the server on bootup, and further, how do I limit
> access to only the root account or people in the root group?
> 
One way to do this is to first create a udev rule for this specific
drive, and then add /etc/fstab entries for it. You could also write
HAL rules for this drive, so it always gets mounted the in the same
place, with the same permissions. That way, it will not wait for a
user to log in before mounting.

The udev/fstab is easier to write, but it may couse problem if you
ever boot without the drive plugged in. But writing the HAL rules
will take a fair amount of research to get it right.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
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