Don't you? I didn't think that devfs removed the need for more space in device
numbers internally - I simply thought it made the user interface far easier.
> > Add a second major # for the SCSI system, following one of the more sensible
> > schemes suggested. Keep the old major/minor numbers, but deprecate them in
> > much the same way as the cua devices.
>
> This does look a bit painful.
Perhaps, but it's not that bad, and similar things have been done before, with
the tty devices.
> So why not use devfs? The work is done.
Even with devfs, you need a sensible internal representation of the device
major and minor numbers, yes? How does devfs handle the case where you've got
a room full of SCSI drives, each with 63 partitions?
devfs provides an extremely useful way of presenting the extended devices to
libc[45] programs, and also for making them usable without an extension to
ext2fs, but can it really remove the need for a larger __kernel_dev_t, too?
(I ask this without having studied the source or the README, for which I
apologise.)
---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu