What's package daemon that add to /etc/fstab when you add USB sticks
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
If your system doesn't have this, using it might break how automounting works on your system. You could always just enter "mount" by itself and use the values returned to create your own entry in /etc/fstab, but make sure you use "UUID=" or "LABEL=" and not the device name. This is because the next time you insert a device it might be /dev/sdc1 instead of /dev/sdb1. You can use the "udevinfo" program to determine the UUID or LABEL of a disk. "udevinfo -q env -n /dev/sdb1" for example. Look for the line of output that says something like "ID_FS_UUID=4B1135F8699960E7", then use "UUID=4B1135F8699960E7" in place of the device in the fstab entry. ( The particular UUID number will be different of course. ). For fat32 filesytems, using the "uid=" option together with the "users" option will allow mounting by a normal user. Using the appropriate "fmask" and "dmask" values can give you exclusive access for that pendrive on that computer.
On many distro's the dbusd, hald and udevd daemons are involved along with helper programs which may include a KDE or Gnome daemon as well. Hal will detect the device and udev will create a device node for it. The PolicyKit package may be involved as well. After the device is mounted there will be a /media/.hal-mtab entry created for that device as well.
Other systems use hotplug to do most of the work.
If your system uses HAL, check if you have a "halmount" program which would allow you to mount a device from the console as a normal user.