Messages in this thread Patch in this message |  | | Date | Sat, 3 Aug 1996 23:49:03 +0100 (BST) | From | Bryn Paul Arnold Jones <> | Subject | Re: cant build ramdisk :-( |
| |
On Sat, 3 Aug 1996, Herbert Rosmanith wrote: > > damnit, I compiled the system without ramdisk-support ! > > could you please add some kind of warning in this case, like > "ramdisk needed but no ramdisk driver" ? would have saved me > quite a time searching for the error .... > > /herp > No sooner said than done:
--- linux/fs/super.c.orig Sat Aug 3 23:35:50 1996 +++ linux/fs/super.c Sat Aug 3 23:46:18 1996 @@ -967,6 +967,9 @@ #ifdef CONFIG_BLK_DEV_FD if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) { floppy_eject(); +#ifdef CONFIG_BLK_DEV_RAM + printk(KERN_NOTICE "(Warning, this kernel has no ramdisk support)\n"); +#endif printk(KERN_NOTICE "VFS: Insert root floppy and press ENTER\n"); wait_for_keypress(); } Bryn -- PGP key pass phrase forgotten, \ Overload -- core meltdown sequence again :( and I don't care ;) | initiated. / This space is intentionally left | blank, apart from this text ;-) \____________________________________
|  |