BusyBox has no business hard coding the number of major and minor bits for a
authorEric Andersen <andersen@codepoet.org>
Mon, 26 Jul 2004 09:11:12 +0000 (09:11 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 26 Jul 2004 09:11:12 +0000 (09:11 -0000)
commit4f807a84c5d936c931cd93c9e98d087305295a1c
tree46c3a59fa158ebbd7303454f2657c330abfc24fe
parent5dcf15e02de10e648ac8e8d86500678f2043d2e6
BusyBox has no business hard coding the number of major and minor bits for a
dev_t.  This is especially important now that the user space concept of a dev_t
and the kernel concept of a dev_t are divergant.  The only bit of user space
allowed to know the number of major and minor bits is include/sys/sysmacros.h
(i.e. part of libc).  When used with a current C library and a 2.6.x kernel,
this fix should allow BusyBox to support wide device major/minor numbers.
 -Erik
archival/libunarchive/get_header_cpio.c
archival/libunarchive/get_header_tar.c
archival/tar.c
coreutils/ls.c
miscutils/makedevs.c