lkml.org 
[lkml]   [1996]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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 ;-)
\____________________________________


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.049 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site