Re: real_root_dev

2000-11-27 Thread Andries Brouwer
_DEV_INITRD > kdev_t real_root_dev; > #endif > #endif > > int root_mountflags = MS_RDONLY; > > and then in kernel/sysctl.c: > > #ifdef CONFIG_BLK_DEV_INITRD > {KERN_REALROOTDEV, "real-root-dev", &real_root_dev, sizeof(int), >06

Re: real_root_dev

2000-10-21 Thread Geert Uytterhoeven
On Fri, 20 Oct 2000, Andries Brouwer wrote: > On Thu, Oct 19, 2000 at 09:50:48PM +0200, Geert Uytterhoeven wrote: > > > > `real_root_dev' must be `int', not `kdev_t'. > > > > - if (MAJOR(real_root_dev) != RAMDISK_MAJOR > > + i

Re: real_root_dev

2000-10-20 Thread Andries Brouwer
On Thu, Oct 19, 2000 at 09:50:48PM +0200, Geert Uytterhoeven wrote: > > `real_root_dev' must be `int', not `kdev_t'. > > - if (MAJOR(real_root_dev) != RAMDISK_MAJOR > + if (MAJOR((kdev_t)real_root_dev) != RAMDISK_MAJOR Ach, Geert, how painf

real_root_dev

2000-10-19 Thread Geert Uytterhoeven
`real_root_dev' must be `int', not `kdev_t'. The reason for this is that we still have (in ): typedef unsigned short kdev_t; while kernel/sysctl.c has the following line: {KERN_REALROOTDEV, "real-root-dev", &real_root_dev, sizeof(int), 0644, NULL, &a