On Wed, 2004-05-05 at 12:04 +1000, Peter Chubb wrote:
> >>>>> "Peter" == Peter Rundle <[EMAIL PROTECTED]> writes:
> 
> Peter> Can anybody shed any light on how hardware (block) devices are
> Peter> mapped to /dev/ entries in Linux. In the bad old days of System
> Peter> V if you had a device on say
> 
> It's simply the order they're scanned in.
> 
> sda -- the first disc found
> sdb -- the second disc found.
> sdc -- the third disc found
> 
> etc.
> 
> Most SCSI HBA drivers scan from low scsi address to high, some scan the
> other way, and some are configurable.

Or, if you're using devfs, you also have the option of going with its naming scheme:

/dev/scsi/host0/bus0/target0/lun0/cd

Which is ostensibly where my CD-writer is.

HTH,

James.
-- 
James Gregory <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to