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

Re: devfs support in ofpath: criteria for patches



On Thu, May 24, 2001 at 12:22:03PM -0700, Tom Rini wrote:
> I'm not quite happy about how the translation for SCSI went, but that wasn't
> something I could fix (since unlike IDE, /dev/sdb could be anywhere.)

just a thought on this, you should be able to just assign scsi devices
to sdX nodes dynamically the same way as the kernel no?  AFAICT the
kernel allocates them in order of detection and in order of scsi ID.
it should be easy enough to replicate this.  

as far as ofpath goes it pretty much assumes that /dev/sda will be the
first Direct-Access device on the scsi chain.  read the scsiinfo()
function for more info.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpTSLHTLJga0.pgp
Description: PGP signature


Reply to: