diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-12 22:43:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-12 22:43:56 +0000 |
commit | 0f8e052687ca182f98acedbc97f8a95a09bfa3b5 (patch) | |
tree | 141c9a8e5ee43ec0e7fb87b902ba14ce94dc2015 | |
parent | eb176595abb08099f1c396e66473a8176e3542a2 (diff) |
for miniroot, translate swap to ffs
-rw-r--r-- | sys/kern/subr_disk.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 753036c5e8a..1014119617e 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.12 1997/04/06 20:59:40 deraadt Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.13 1997/05/12 22:43:55 deraadt Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -485,8 +485,13 @@ dk_mountroot() break; #endif default: - panic("filesystem type %d not known", + { + extern int ffs_mountroot __P((void)); + + printf("filesystem type %d not known.. assuming ffs", dl.d_partitions[part].p_fstype); + mountrootfn = ffs_mountroot; + } } return (*mountrootfn)(); } |