Auto-mounting external USB drive at login

Yves-Alexis Perez corsac at
Sat May 30 00:29:16 CEST 2009

On ven, 2009-05-29 at 18:03 -0300, John Coppens wrote:
> You should look at /etc/fstab where the drives are listed that are
> automounted on startup, though possibly this won't work if the USB
> system is started too late.
> You probably have 'udev' installed (or 'hotplug' if the system is older),
> which detects when the drive is connected, and can execute the mount code
> automatically. This may need some configuration, though many drive types
> are already defined in the udev rules. The method varies from distro to
> distro.

Udev rules are nice for removable devices, check with thunar-volman too,
which can automount stuff when they are plugged.

For login thing, there are pam module which will mount some fs when
logging in, I think (like, the homedir). Or you could just put it in
your login script.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Xfce mailing list