Re: How to automatically mount usb drive?



Fred wrote:
I've been looking at the man pages for autofs and automount, and still
can't mount my usb drive automatically, under Fedora Core 7. I normally
mount it like this:

mount -t vfat -o rw,user,noauto,nosuid,nodev,_netdev,utf8,owner,uid=fred
/dev/sdb1 /mnt/usb

I've started autofs and was playing with the auto.master file, but
nothing I tried worked. Can someone please tell me how to add this entry to the auto.master file, and have it mount automatically?

http://www.giwersworld.org/computers/linux/usb-drives.phtml

Works for me for four of them.

As for a manual mount

mount -t ext3 /dev/sdb1 /mnt/usb

is sufficient. I presume it works the same for -t vfat.

--
Intelligent Design is abbreviated ID because those are the first two letters
in the word idiot.
-- The Iron Webmaster, 3851
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
flying saucers http://www.giwersworld.org/flyingsa.html a2
.



Relevant Pages

  • Re: HLA Under Linux question...
    ... | how to mount a floppy drive until 3 hours ago. ... Fedora Core mentions that any level below 500 is not ... My Fedora Core 1 distro, ... floppy by using the 'mcopy' command. ...
    (alt.lang.asm)
  • Re: HLA Under Linux question...
    ... | how to mount a floppy drive until 3 hours ago. ... Fedora Core mentions that any level below 500 is not ... My Fedora Core 1 distro, ... floppy by using the 'mcopy' command. ...
    (comp.os.linux.misc)
  • Re: Configuring Fedora Core 4 & USB Flash drives?
    ... > Fedora Core 4. ... A manual mount does work; ... But if I did make an fstab entry, ... Media", I want to pick the name myself. ...
    (Fedora)
  • making magnetic opticals ejectable under Nautilus
    ... I have been able to mount my XFS format magnetic optical ... disks under Fedora Core 4 with the following fstab line... ... I noticed that for the cdrom which can eject I have... ...
    (Fedora)
  • Recovering LVM
    ... Fedora Core 3 on it, this is a dual boot machine with Windows XP (The XP ... I think the problem is with the LVM ... mount: error 22 mounting ext3 ... partitions on the drive, the first is for Windows XP, the second is the ...
    (Fedora)