On Sunday 14 April 2002 20:30, Terry Houle wrote:
> Trying to figure out how to get the system to recognize a USB harddrive.  I
> want to use the GUI and running SuSe.  Any comments appreciated.

	Pretty simple. First, make sure that you have SCSI support in your kernel. 
If you are running the stock SuSE, this should not be a concern. For my 
DiskOnKey, I added the following line to my /etc/fstab file:

/dev/sdb1    /mnt/dok    vfat    noauto,rw,user,nosuid,sync,mode=0777    0 0

Note that you will most likely want to change "/dev/sdb1" to "/dev/sda1" if 
you don't have another SCSI device on your system. I installed hotplug and 
usbmgr on my system and then modified /etc/usbmgr/usbmgr.conf so that the 
line for the DiskOnKey read as such:

vendor 0x8ec product 0x0010 module scsi_mod, sd_mod, usb-storage script 
diskonkey

(All of that should be on one line.) The most recent versions of usbmgr have 
support for the DiskOnKey, so unless you want automount support, like I did, 
you don't need to change anything. For automount support (or fake automount, 
anyways), I wrote a script called "diskonkey" (that's the last part of the 
line above) and put it in /etc/usbmgr. The script is fairly simple:

#!/bin/sh
if [ "$ACTION" == "add" ]; then
  mount /mnt/dok
fi

Basically, what happens is that whenever I plug my DiskOnKey into a USB port, 
usbmgr/hotplug runs the script and mounts it. Unfortunately, this still 
requires me to unmount it, but what can you do?
	Oh, yes. For GUI action, just make a link on your desktop like you would for 
any other drive, and away you go!
	:Peter