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 MINORBITS 8 > 63 # endif /* ! MINORBITS */ > 64 # define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) > 65 # endif /* ! MAJOR */ > > should be changed as following: > > 60 # ifndef MAJOR > 61 # define MAJOR(dev) ((dev >> 8) & 0xfff) | ((unsigned > int) (dev >> 32) & ~0xfff) 62 # endif /* ! MAJOR */
It seems not to change anything. Did you try the code? > The code "((dev >> 8) & 0xfff) | ((unsigned int) (dev >> 32) & > ~0xfff)" is from glibc. I think this will fix the Linux device number > extention bug. Is it OK? I guess it is in an old version of glibc. Okuji _______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub
