Subject: Re: 32 bit dev_t, Revision 3
To: Darren Reed <darrenr@cyber.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 01/14/1998 09:46:04
On Wed, 14 Jan 1998 23:05:22 +1100 (EST)
Darren Reed <darrenr@cyber.com.au> wrote:
> To my thinking, device = (bus,target) and subunit = (lun,slice,partition)
I really don't like factoring bus, target, and lun into the picture when
trying to decide unit numbers...
Two things to remember:
(a) Our autoconfig system can assign unit numbers arbitrarily,
and our SCSI subsystem allows one to take advantage of this,
mapping device unit numbers to arbitrary bus,target,lun
combinations.
(b) dev_t's are used for more than just disks.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939