bugGNU GRUB - Bugs: bug #7197, Linux kenel device number extention

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #7197: Linux kenel device number extention

Submitted by:  None
Submitted on:  Mon 12 Jan 2004 08:05:29 AM UTC  
 
Category: FilesystemSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: Yoshinori K. Okuji <okuji>Originator Name: Shen Feng
Originator Email: -unavailable-Open/Closed: Closed
Release: 0.93Release: None
Reproducibility: Every TimePlanned Release: None

Sun 18 Jan 2004 07:34:23 PM UTC, comment #1:

I close this bug, because I fixed the bug. Thanks.

Yoshinori K. Okuji <okuji>
Project AdministratorIn charge of this item.
Mon 12 Jan 2004 08:05:29 AM UTC, original submission:

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.

In file lib/device.c, the following macro is defined.

# ifndef MAJOR
# ifndef MINORBITS
# define MINORBITS 8
# endif /* ! MINORBITS */
# define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))
# endif /* ! MAJOR */

As following, "major" should be 12-bit, and "minor" should be 20-bit.
mmmm mmmm mmmm MMMM MMMM MMMM mmmm mmmm
"M" means major device number.
"m" means minor device number.

But this major considers both "major" and "minor" as 8-bit. It seems not to correspond to device number extension.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 18 Jan 2004 07:34:23 PM UTCokujiStatusNone=>Fixed
  Assigned toNone=>okuji
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1