lkml.org 
[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectBug in romfs
	Well, I think it isn't a bug in romfs, but in msdos, but the
romfs code can't mount the root filesystem if the kernel is
compiled with both msdos and romfs support. The following patch fixes
this:

diff -ur linux-2.1.26/fs/filesystems.c linux-2.1.26-patched/fs/filesystems.c
--- linux-2.1.26/fs/filesystems.c Tue Jan 28 23:56:28 1997
+++ linux-2.1.26-patched/fs/filesystems.c Sat Feb 8 12:37:00 1997
@@ -54,6 +54,10 @@
init_minix_fs();
#endif

+#ifdef CONFIG_ROMFS_FS
+ init_romfs_fs();
+#endif
+
#ifdef CONFIG_UMSDOS_FS
init_umsdos_fs();
#endif
@@ -104,10 +108,6 @@

#ifdef CONFIG_UFS_FS
init_ufs_fs();
-#endif
-
-#ifdef CONFIG_ROMFS_FS
- init_romfs_fs();
#endif

mount_root();

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