Re: Linux device number bug report

2004-01-15 Thread Yoshinori K. Okuji
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

Re: Linux device number bug report

2004-01-14 Thread Yoshinori K. Okuji
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

Re: Linux device number bug report

2004-01-12 Thread Shen Feng
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

Re: Linux device number bug report

2003-12-24 Thread Yoshinori K. Okuji
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

Linux device number bug report

2003-12-23 Thread Shen Feng
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