lkml.org 
[lkml]   [1996]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCSI device numbering
Johnie Stafford wrote:
>
> >>>>> "ac" == Albert Cahalan <albert@ccs.neu.edu> writes:
>
> ac> No, it is sufficient for everything, including really weird
> ac> SCSI adapters. Using nibble boundries (for nice hex output),
> ac> dev_t can be split as follows:
>
> ac> Purpose Bits Normal Extreme
> ac> controller 4 <= 1 2
> ac> bus 4 == 0 1
> ac> device 8 <= 2 4
>
> What about wide SCSI? It does 16 devices.

sorry... that's 8 bits -> 256 devices. It should be enough for
your ultra-giga-wide-SCSI ;-)

> ac> lun 8 == 0 3
> ac> partition 4 <= 3 4
>
> What about an entry for the entire disk (eg. /dev/sda)? What about
> logical partitions? If you include the entry for the entire disk, I
> use 9 entries for my primary disk.

4**2 = 16 is enough for 15 partitions + the whole disk

> Johnie

PS : shouldn't this message go to linux-scsi instead ??

--
\\-----------------------------------------------------------\\
// Alexandre Maret -- Linux : The choice of a GNU generation //
\\ amaret@infomaniak.ch -- http://www.infomaniak.ch/~amaret \\
//-----------------------------------------------------------//


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:2.462 / U:1.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site