tech-kern archive

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

Re: Reserve device major numbers for pkgsrc



On Sat, Feb 16, 2019 at 09:02:05PM -0800, John Nemeth wrote:
 >      Of course, the real ideal thing would be to get a devfs and
 > get rid of the concept of major numbers.  Here I go again, starting
 > contriversies.  :->

A more viable approach: use strings instead of major numbers. Even in
ufs1 with 32-bit block pointers there's 60 bytes available for this,
which is more than ample.

There's still a namespace management issue, but it's no worse than
(and can be made the same as) the namespace management issue we
currently have with driver names.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index