HEADSUP: linux dev_t emulation
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Mar 11 08:12:50 PST 2005
In message <E1D9kCx-000BeX-00._pppp-mail-ru at f30.mail.ru>, dima writes:
>> In message <20050310222652.GA31757 at infradead.org>, Christoph Hellwig writes:
>>>On Thu, Mar 10, 2005 at 10:11:44PM +0100, Poul-Henning Kamp wrote:
>>>>
>>>> Linux has only 8 bit major + 8 bit minor dev_t.
>>>
>>>Not true anymore. Current Linux has 12bit major and 20bit minor.
>>
>> Well, that doesn't change the situation: the linuxolator has a task
>> to learn.
>
>A translation table probably?
If so then the table will have to key off the name in the cdevsw
associated with the cdev since our major/minor numbers are no longer
constant across reboots (just like hardware configurations are not).
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list