Re: possible SCSI device numbering solution

H. Peter Anvin (hpa@freya.yggdrasil.com)
27 Jun 1996 03:39:50 GMT


Followup to: <199606261829.OAA01794@snowdon.ccs.neu.edu>
By author: Albert Cahalan <albert@ccs.neu.edu>
In newsgroup: linux.dev.kernel
>=20
> The major number is useful for character devices, which can be
> split 12:20. For block devices, a block device is just a block
> device. If you just need a major number to fill some software
> "need", then just make it 0 for all block devices.
>=20

Huh? The major number is the pointer to the driver; this has to be
encoded one way or the other, and it might as well be done uniformly
and efficiently. I'd go for 12:20 if it is deemed enough (which I am
not really sure about), but dropping the major is a ludicrous idea.

-hpa
--=20
PGP public key available - finger hpa@zytor.com
I don't work for Yggdrasil, but they sponsor the linux.* hierarchy.
"The earth is but one country, and mankind its citizens." -- Bah=E1'u=
'll=E1h
Just Say No to Morden * Save Babylon 5: http://www.babylon5.com/cmp/sup=
port/