[CentOS] Centos6 - Xfce - howto add usb automount

Tue Nov 15 16:38:07 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

John Hodrien wrote:
> On Tue, 15 Nov 2011, m.roth at 5-cent.us wrote:
>> Ljubomir Ljubojevic wrote:
>>> Vreme: 11/15/2011 04:11 PM, Johan Vermeulen piše:
>>>> I configured Xfce on an Centos6 minimal install, I think its very
>>>> fast,even on al 512Mb machine.
>>>> But I don't have any clue how to make a usb automount on this.
>>> I think autofs package is needed, but not sure.
>> That *is* what does it. It needs to be installed, and it will run as a
>> daemon.
> Hmm not on a normal machine AFAIK.  autofs normally keeps well out of the
> way of random removable devices, unlike bits of gnome (that clearly
> nautilus is either responsible for, or pulls in the bit that is) that
> likes to get busy with creating /media/ography}{5} when a usb hard
> disk gets plugged in. Quite how it picked that when the vfat filesystem
> had no label I'm not entirely clear...

But the autofs package contains automount, and that is what handles USB
drives, etc.