On Thursday 15 January 2004 01:38, Shen Feng wrote:
No. It's the latest glibc.
Please refer to /usr/include/sys/sysmacros.h.
Ah, I see. The glibc assumes that a device number could be 64 bit rather
than 32 bit. So | ((unsigned int) (__dev 32) ~0xfff) is
meaningful. If it is 32 bit, this
On Tuesday 13 January 2004 04:38, Shen Feng wrote:
I think the following code in lib/device.c
60 # ifndef MAJOR
61 # ifndef MINORBITS
62 # define MINORBITS8
63 # endif /* ! MINORBITS */
64 # define MAJOR(dev)((unsigned int) ((dev) MINORBITS))
65
PROTECTED]
--
- Original Message -
From: Yoshinori K. Okuji [EMAIL PROTECTED]
To: Shen Feng [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 8:08 PM
Subject: Re: Linux device number bug report
On Wednesday 24 December
On Wednesday 24 December 2003 04:55, Shen Feng wrote:
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.
Exactly.
I find that grub-0.93-7 uses variables major and minor
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 grub-0.93-7
uses variables "major" and