[BusyBox] wide device major/minor

Erik Andersen andersen at codepoet.org
Mon Jul 26 09:12:09 UTC 2004


On Wed Jul 21, 2004 at 12:44:14AM +0200, Egmont Koblinger wrote:
> Busybox doesn't like device entries with major or minor number greater
> than 256, though they are supported by recent linux kernels.
> 
> Here's an example. Kernel 2.6.7, ls is from coreutils 5.2.1, busybox
> 1.0-rc1, all compiled against glibc 2.3.3:
> 
> $ ls -l /dev/md/d21
> brw-------  1 root root 254, 1344 1970-01-01 01:00 /dev/md/d21
>                              ^^^^
> $ ./busybox ls -l /dev/md/d21
> brw-------    1 root     root     254,  64 Jan  1  1970 /dev/md/d21

Ok, I've just checked in a fix for this problem.  When used with
a current C library and a 2.6.x kernel, BusyBox should now
support wide major/minor device numbers.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list