Huha? My plan has the disk as one node, just like every other plan. I have
a node for the whole controller, bus, id and lun as well (the current scheme
has a whole-lun = whole-disk node, but none of the others. Then, within
each controller, there is a directory for each bus. (similar for bus->id,
id->lun, lun->partition). That is to say, the node for the 1st bus on the
1st controller is SCSI/1/1/bus. The whole disk of the 2nd lun on the 3rd
device on the 4th bus of the 5th controller is SCSI/5/4/3/2/lun. Etc, etc...)
> Secondly, take drives don't have partitions. I dunno about CD-ROMS.
Exactly; that's what the SCSI/c/b/i/l/lun is for. The whole lun is the
whole disk, regardless of if it has partitions on it or not.
> Thirdly, I think you *want* to differentiate between hard discs and
> tape drives, at a fairly high level. "What tape drives do I have?"
> Looking for one tape driver amongst 100 SCSI discs is like looking for
> a needle in a haystack.
Why not simply have an "indetify" ioctl?
-=- James Mastros
-- Agent K: A person is smart; people are dumb, panicky animals and you know it. Fifteen hundred years ago, everybody knew that the Earth was the center of the Universe. Five hundred years ago, everybody knew that the Earth was flat. Fifteen minutes ago, you knew that humans were alone on this planet. Just think what you'll know tomorrow.-=- Men In Black (1997, Paramount)