RE: Lexar JumpDrive mount problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Alexandre Strube [mailto:surak@xxxxxxxxxxxx]
> 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?




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux