[PATCH] mknod fix for major/minor number greater than 255

Robert P. J. Day rpjday at crashcourse.ca
Tue Mar 11 23:41:15 PDT 2008


On Tue, 11 Mar 2008, Khem Raj wrote:

>
> On Mar 11, 2008, at 11:03 PM, Basheer, Mansoor Ahamed wrote:
>
> > Hi,
> >
> > Current mknod implementation fails for major/minor number greater than 255.
>
> is linux kernel supporting major/minor numbers greater than 255 ?

the *kernel* supports major/minor numbers of bit length (12,20).  it's
only userspace that restricts their values to (8,8).

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================


More information about the uClibc mailing list