2013-09-26 17:14:40 +02:00

15 lines
637 B
Plaintext

$NetBSD: patch-af,v 1.3 2006/10/17 21:55:33 bad Exp $
--- stage2/fsys_ffs.c.orig 2003-07-09 13:45:52.000000000 +0200
+++ stage2/fsys_ffs.c 2006-09-20 00:38:40.000000000 +0200
@@ -83,7 +83,8 @@
int retval = 1;
if ((((current_drive & 0x80) || (current_slice != 0))
- && ! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_BSDFFS))
+ && ! (IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_BSDFFS)
+ || IS_PC_SLICE_TYPE_BSD_WITH_FS(current_slice, FS_RAID)))
|| part_length < (SBLOCK + (SBSIZE / DEV_BSIZE))
|| !devread (SBLOCK, 0, SBSIZE, (char *) SUPERBLOCK)
|| SUPERBLOCK->fs_magic != FS_MAGIC)