Lexar JumpDrive mount problem
Shawn Iverson
shawn at nccsc.k12.in.us
Mon Jan 19 22:53:51 UTC 2004
> From: Alexandre Strube [mailto:surak at surak.eti.br]
> Sent: Saturday, January 17, 2004 9:10 PM
> > Anyone know how to make a usb-jumpdrive make an entry in
> fstab, even perhaps
> > automount?
>
> This is for olympus cameras, but the procedure is almost the same for
> your device. Just the line on /etc/updfstab is different:
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=113787
> --
> []s
>
Hey, thanks for the info, it was great. Here is how I was able to get a
Lexar JumpDrive to work
with the help of the above bugzilla document:
Edited /etc/updfstab.conf.default and added the following:
device usbdrv {
partition 1
match hd JumpDrive #Wild guess...it worked!
}
I executed the following commands as root:
#Add the usb-storage device information to the usb.usermap (necessary
step??)
cat /lib/modules/<your kernel>/modules.usbmap | grep usb-storage >>
/etc/hotplug/usb.usermap
mkdir /mnt/usbdrv #Needed for a mount point
mkdir /var/run/usb #This was missing on my computer, resulting in no auto
umount...
Create /etc/hotplug/usb/usb-storage (adapted from Bugzilla report 113787)
#!/bin/bash
mount /mnt/usbdrv
echo '!#/bin/bash' > "$REMOVER"
echo 'umount /mnt/usbdrv' >> "$REMOVER"
chmod u+x $REMOVER
Be sure to make usb-storage executable:
chmod ugo+x /etc/hotplug/usb/usb-storage
That should be it.
A quick question for the Fedora gurus: Should I report this information
anywhere else?
More information about the fedora-list
mailing list