Bug 115071

Summary: [raidtools]Linux device number bug report
Product: Red Hat Enterprise Linux 3 Reporter: yjwei <yjwei>
Component: raidtoolsAssignee: Doug Ledford <dledford>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-22 22:04:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yjwei 2004-02-06 03:45:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; 
i-NavFourF)

Description of problem:
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?


Version-Release number of selected component (if applicable):
raidtools-1.00.3-7

Comment 1 Doug Ledford 2004-04-22 22:04:36 UTC
Raidtools is deprecated, and in fact most likely won't be part of any
product we release that has a 2.6 kernel (current Fedora excluded,
although it's about to get yanked from there).