All of lore.kernel.org
 help / color / mirror / Atom feed
* [raidtools]Linux device number bug report
@ 2004-02-02  7:01 WEI Yongjun
  0 siblings, 0 replies; only message in thread
From: WEI Yongjun @ 2004-02-02  7:01 UTC (permalink / raw)
  To: mingo; +Cc: linux-raid, linux-raid

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-02  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-02  7:01 [raidtools]Linux device number bug report WEI Yongjun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.