[raidtools]Linux device number bug report

From: WEI Yongjun <hidden>
Date: 2004-02-02 07:01:25

Hello,

I have some questions about device number extension.

In Linux kernel 2.6, device number will be extended from 16-bit to 32-bit.
All utilities and libraries should make corresponding extension for this new
feature in kernel 2.6.

I find that "raidtools-1.00.3-7" uses structure dev_t and operates the
device number as 16-bit.
----------------------------------------------------------------------------
--------------
lsraid.c line 59:

#define MAJORBITS 8
#define MINORBITS 8
#define MAJORS (1 << MAJORBITS)
#define MINORS (1 << MINORBITS)

It defined major device number and minor device number as 8 bit, but now
major device number is 12 bit and minor device is 20 bit.
----------------------------------------------------------------------------
--------------

Since I didn’t find any information about this aspect in homepage of this
package, I wonder whether the latest version has completed the device number
extension? If not, will it be completed in the future? And when?

Looking forward to answering.


Best Regards

--------------------------------------------------
Wei Yongjun
Dept. of Technology and Development
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No. 16-5, Guanzhou Rd., Nanjing, P.R.China
PHONE: +86+25-6630523-633
FUJITSU INTERNAL: 79955-651
FAX: +86+25-3317685
Mail: yjwei@nanjing-fnst.com
--------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help