Date: Fri, 11 Mar 2005 17:12:47 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: dima <_pppp@mail.ru> Cc: arch@freebsd.org Subject: Re: Re[2]: HEADSUP: linux dev_t emulation Message-ID: <2279.1110557567@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 11 Mar 2005 16:29:39 %2B0300." <E1D9kCx-000BeX-00._pppp-mail-ru@f30.mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <E1D9kCx-000BeX-00._pppp-mail-ru@f30.mail.ru>, dima writes: >> In message <20050310222652.GA31757@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2279.1110557567>
