The following procedure should only be used if you have been unable to get your EasyDisk to mount in Linux. It is advised that an experienced Linux professional assist you in these steps.


First, I down-loaded the following packages from http://www.rpmfind.net
to my /tmp/ directory.

hwdata-0.14-1 for RedHat 7.3
usbutils-0.9-5 for RedHat 7.3
hotplug-2002_04_01-3 for RedHat 7.3

---

Then, as root, install the packages by executing the following commands:
rpm -i --nodeps --force /tmp/hwdata-0.14-1.noarch.rpm
rpm -U --nodeps --force /tmp/usbutils-0.9-5.i386.rpm
rpm -U /tmp/hotplug-2002_04_01-3.i386.rpm

Confirmed that the packages had been properly installed.

% rpm -q hotplug
hotplug-2002_04_01-3

% rpm -q usbutils
usbutils-0.9-5

% rpm -q hwdata
hwdata-0.14-1

---

In /root/.bashrc we added the following two lines.
Note that in your system, /proc/bus/usb might already be mounted.
If this is true, then you will not want to try to mount /proc/bus/usb/ again.

alias usbon='/sbin/modprobe usb-uhci; /sbin/modprobe usb-storage; /sbin/modprobe usbserial; /sbin/modprobe pl2303; mount -t usbdevfs none /proc/bus/usb;'

alias usboff='/sbin/modprobe -r usb-pl2303; /sbin/modprobe -r usbserial; /sbin/modprobe -r usb-storage; /sbin/modprobe -r usb-uhci; umount /proc/bus/usb;'

---

Then, as root,create a directory /mnt/usbhd/ and make it
accessible to all.

# mkdir /mnt/usbhd/
# chmod 777 /mnt/usbhd/

---



Then, as root, add the following two lines at the end of /etc/fstab

none /proc/bus/usb usbdevfs noauto 0 0
/dev/sda1 /mnt/usbhd vfat noauto,user 0 0

This completes the system set-up for the USB flash memory.
Whenever you want to use the EasyDisk Flash Memory Drive:
Do the following:

(A.) As root,

# usbon

(B.) plug in the flash memory pen;

(C.) As myself,

% mount /mnt/usbhd

The EasyDisk USB Flash Memory is now accessible via
the directory /mnt/usbhd/

(D.) before disconnecting the USB Flash Memory Pen ...

% umount /mnt/usbhd

NOTE: step (A.) should be executed only once after each re-boot.
Before a re-boot or a shut-down, as root, run

# usboff

© Copyright 2003 Opti3.com. Click here for privacy policy.