dynamic fstab and /mnt
Hi.
I'd really rather not kill my computer, but it sure is tempting todoay.... I'm messing around with a USB flash drive and I can't seem to get it to auto mount at all. I got the following tip from fedora's site:
-------------------------------------
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
-----------------------------------
Seems like a good idea. Everything seemed to work until I unplugged and replugged my flash drive. When I put it back in my entry in /etc/fstab was gone, and my simlink was gone. I have kudzu off and autofs off so I know they aren't the culprits. So, which service is messing with my and how do I make it stop?
|