Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Theory: to mount, the mount command is executed. When automounting, the autoload script (login) hangs, in which this mount command is also written. Mounting flash drives - just hangs a daemon that monitors the appearance of block devices in the system. When they appear, mount is also executed.
mount itself requires root rights, but modern tools (gmount, fuse) allow mounting from a normal user
It is better to mount-unmount manually, but make it easier for yourself with the help of udev: after connecting the flash drive, a directory is created in / media, and the corresponding entry is entered in / etc / fstab, and when disconnected, everything unnecessary is deleted.
That's it .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question