Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

Fedora Tips

by Krishnan Subramanian

2004-02-02 Fedora Tips 35:
Here is a tip to automount USB flashdrive without using automount. Plugin your flash drive look a the tail end of dmesg and you should see something about the usb drive on /dev/sda1. If that is the case the following commands will work

$ sudo devlabel add -d /dev/sda1 -s /dev/flashdrive --automount --perms 666
$ sudo mkdir /mnt/flashdrive
edit /etc/fstab and add this line
/dev/flashdrive         /mnt/flashdrive         auto noauto,noatime,user,kudzu 0 0
Next time your flashdrive is plugged in, wait for a couple of seconds and it should be automounted at /mnt/flashdrive. - submitted by Kevin DeKorte