mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 14:55:26 +03:00
[PATCH] add a question/answer about automounting usb devices to the FAQ.
Thanks to bert hubert <ahu@ds9a.nl> for the text.
This commit is contained in:
parent
c641a99c6f
commit
166612d79d
14
FAQ
14
FAQ
@ -84,6 +84,20 @@ Q: How will udev handle devices found before init runs?
|
||||
A: udev will be placed in initramfs and run for every device that is found.
|
||||
Work to get this implemented is still underway.
|
||||
|
||||
Q: Can I use udev to automount a USB device when I connect it?
|
||||
A: Technically, yes, but udev is not intended for this. Projects that do
|
||||
automount hotplugged storage devices are:
|
||||
* Usb-mount http://users.actrix.co.nz/michael/usbmount.html
|
||||
* devlabel http://linux.dell.com/projects.shtml#devlabel
|
||||
|
||||
Alternatively, it is easy to add the following to fstab:
|
||||
/udev/pendrive /pendrive vfat user,noauto 0 0
|
||||
|
||||
This means that users can access the device with:
|
||||
$ mount /pendrive
|
||||
And don't have to be root but will get full permissions on /pendrive.
|
||||
This works even without udev if /udev/pendrive is replaced by /dev/sda1
|
||||
|
||||
Q: I have other questions about udev, where do I ask them?
|
||||
A: The linux-hotplug-devel mailing list is the proper place for it. The
|
||||
address for it is linux-hotplug-devel@lists.sourceforge.net
|
||||
|
Loading…
Reference in New Issue
Block a user