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

Re: USB mass storage and kernel 2.4.18




On Fri, Feb 21, 2003 at 01:36:41AM -0500, sean finney wrote......

> On Fri, Feb 21, 2003 at 11:37:06AM +0800, Dai Yuwen wrote:
> > which device should I use in /dev (sda? or sdb? ... )
> 
> whichever one mounts :)  if you want to take a sneak peak, do
> file -s /dev/sda1 or /dev/sdb1, and if it says something about
> a vfat parition or an x86 boot sector, that's the one.


A nice utility to use for figuring out which scsi the device is on is 

apt-get install sg3-utils

Then just run

sg_scan -i       // to see scsi type devices

and 

sg_map          // to see device assocations

I've got one of those 6-in-1 USB card readers and 4 scsi HD's on a
raid card.  

This utility helped me figure it out right quick.

Kevin

-- 
Kevin Coyner
mailto: kevin@rustybear.com
GnuPG key: 1024D/8CE11941

Attachment: pgpy2CY_q5vPI.pgp
Description: PGP signature


Reply to: