Automatically mounting USB flash disks/ USB thumb drives

Andy Green fedora at warmcat.com
Tue Aug 10 13:11:43 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 10 August 2004 13:35, Daniel Stonier wrote:
> Another way to do it is use the automounter. For example, to automount at
> /mnt/usb/flash
>
> - Create a mount point (directory): /mnt/usb
> - Edit auto.master to include the line
>   		/mnt/usb 	/etc/auto.usb  --timeout 5
> - Copy auto.misc to auto.usb
> - Comment/delete everything out in auto.usb and include the line
> 		flash		-fstype=ext3		:/dev/sda1
>    (Change fstype to whatever you have, I typically format my usb drives as
> soon as I get them)
> - Then run, service autofs start (might want to start this up at bootup,
> easy to run redhat-config-services)

Usbautocam should set up automount for you.

Didier, what is in your /etc/auto.misc and /etc/auto.master?

Is 

rpm -q hotplug

showing hotplug installed?

What does uname -r show?

- -Andy

- -- 
Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players
http://warmcat.com/usbautocam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBGMmPjKeDCxMJCTIRAm7tAJ9SOFoLwNlz4T8PEJXL2/gGg53S0wCglOAt
KIeDPbJsc5PtKim/KEbsgOM=
=P2UI
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list