I'm trying to get fstab to auto-mount a removable device when its plugged in? Is this possible and if not what is the easiest way to auto-mount a removable device?
feedback
|
migrated from stackoverflow.com Feb 23 '10 at 19:52
This question came from our site for professional and enthusiast programmers.
|
You will need some kind of automounter. That will largely depend on what Linux distribution you have and whether or not you're using a GUI or CLI based system. And then, it will also depend on whether or not your using Gnome or KDE as your desktop environment. My experience lies with Gnome on Gentoo, Ubuntu and a little experience with Redhat. But you won't be able to use fstab to automatically mount devices when they're plugged in or removed. | |||
feedback
|
|
While you many not be able to use fstab, you will be able to set up automount with udev and hal. However, in my experience (KDE, Gnome, and XCFE) Desktop Environments will automatically mount most removable devices. | |||||
feedback
|
|
Wilduck can you please explain how to use udev and hal to make a auto mount? | |||
feedback
|