[WBEL-users] Newbie Linux user

Luke Scharf lscharf at aoe.vt.edu
Thu Apr 28 14:20:27 CDT 2005


Aaron Marroquin wrote:

>I have a converted laptop drive from IDE to USB that I use to
>shuttle information around.
>
The last time I set this up was with Fedora, but USB is already 
automagically supported.  When you plug in the drive, you can cat 
/proc/scsi/scsi and you should see your USB Mass storage device there.  
(If not, run "/sbin/modprobe usb-storage" as root.)

Okay, that's great.  A SCSI-ish hard drive that's hanging off a USB 
adapter.  However, I assume that you're asking the question because you 
want to get to the files.  If you want to make it easy to get to the 
files, you can run (as root) "mkdir /mnt/usb", then "chmod yourname 
/mnt/usb", and add the following line to /etc/fstab:
    /dev/sda              /mnt/usb              auto noauto,owner 0 0
Then, when you insert the USB device, just type "mount /mnt/usb" and 
type "umount /mnt/usb" before removing it.

Potential problem: this little hack will only work with one USB drive at 
a time.

It could be easier, and probably will get easier as the hotplug stuff 
evolves.  USB-storage and changing networks with wireless are my biggest 
complaints about the Linux distributions that I use regularly -- but I 
usually run Linux desktops and rackmount machines anyway.

-Luke

-- 
Luke Scharf, Systems Administrator
Virginia Tech Aerospace and Ocean Engineering



More information about the Whitebox-users mailing list