Add support for MFS root filesystem.

This commit is contained in:
Poul-Henning Kamp 1995-04-25 03:41:12 +00:00
parent 41dffd203c
commit 58e81aafbb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8055
2 changed files with 26 additions and 2 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
* $Id: autoconf.c,v 1.25 1995/04/23 09:12:39 julian Exp $
* $Id: autoconf.c,v 1.26 1995/04/23 09:17:24 julian Exp $
*/
/*
@ -77,6 +77,14 @@ int nfs_mountroot __P((void));
#ifdef CD9660
int cd9660_mountroot __P((void));
#endif
#ifdef MSDOSFS
int msdosfs_mountroot __P((void));
#endif
#ifdef MFS_ROOT
int mfs_initminiroot __P((u_char *));
u_char mfs_root[MFS_ROOT*1024] = "MFS Filesystem goes here";
u_char end_mfs_root[] = "MFS Filesystem had better STOP here";
#endif
#include "eisa.h"
#include "isa.h"
@ -164,6 +172,10 @@ configure()
configure_finish();
#ifdef MFS_ROOT
mfs_initminiroot(mfs_root);
#endif /* MFS_ROOT */
#ifdef CD9660
if ((boothowto & RB_CDROM) && !mountroot)
mountroot = find_cdrom_root;

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
* $Id: autoconf.c,v 1.25 1995/04/23 09:12:39 julian Exp $
* $Id: autoconf.c,v 1.26 1995/04/23 09:17:24 julian Exp $
*/
/*
@ -77,6 +77,14 @@ int nfs_mountroot __P((void));
#ifdef CD9660
int cd9660_mountroot __P((void));
#endif
#ifdef MSDOSFS
int msdosfs_mountroot __P((void));
#endif
#ifdef MFS_ROOT
int mfs_initminiroot __P((u_char *));
u_char mfs_root[MFS_ROOT*1024] = "MFS Filesystem goes here";
u_char end_mfs_root[] = "MFS Filesystem had better STOP here";
#endif
#include "eisa.h"
#include "isa.h"
@ -164,6 +172,10 @@ configure()
configure_finish();
#ifdef MFS_ROOT
mfs_initminiroot(mfs_root);
#endif /* MFS_ROOT */
#ifdef CD9660
if ((boothowto & RB_CDROM) && !mountroot)
mountroot = find_cdrom_root;