Re: Minor numbers under 2.6

From: Greg KH
Date: Wed Jun 02 2004 - 10:18:48 EST


On Wed, Jun 02, 2004 at 05:10:46PM +0200, Eric BEGOT wrote:
> Greg KH wrote:
>
> >The same way:
> > # mknod foo c 100 10000
> > # ls -l foo
> > crw-r--r-- 1 root root 100, 10000 Jun 2 07:48 foo
> >
> >
> >
> >
> Under 2.6.7-rc2-mm1 :
> root@Starbuck:/home/tyler>mknod /dev/test c 100 1000
> root@Starbuck:/home/tyler>ll /dev/test
> crw-r--r-- 1 root root 103, 232 Jun 2 17:07 /dev/test
>
> and under 2.4.26 that's the same.

Like I stated in my message, which you cut off:
Just make sure you have a up to date glibc.

I'm guessing that you do not have the most recent version of glibc on
your machine.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/