diff options
author | phk <phk@FreeBSD.org> | 2002-10-26 20:17:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-26 20:17:59 +0000 |
commit | fe41e143c1fc5f784733210331c97f6aef357307 (patch) | |
tree | 8eaa2ba47b113bb2d22b388e1c834d81aa427f6d /sys/geom/geom_pc98.c | |
parent | 46eab906451692bc2ec684f548a8d6594c695446 (diff) | |
download | FreeBSD-src-fe41e143c1fc5f784733210331c97f6aef357307.zip FreeBSD-src-fe41e143c1fc5f784733210331c97f6aef357307.tar.gz |
Make geom_mbr.c optional on PC98, use GEOM_MBR option to include it.
Disable check for supposedly magic "IPL1" string for PC98 labels, its
thaumaturgical power is in doubt.
Diffstat (limited to 'sys/geom/geom_pc98.c')
-rw-r--r-- | sys/geom/geom_pc98.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index 6289e05..f683f31 100644 --- a/sys/geom/geom_pc98.c +++ b/sys/geom/geom_pc98.c @@ -137,9 +137,15 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags) if (buf[0x1fe] != 0x55 || buf[0x1ff] != 0xaa) break; +#if 0 +/* + * XXX: Some sources indicate this is a magic sequence, but appearantly + * XXX: it is not universal. Documentation would be wonderfule to have. + */ if (buf[4] != 'I' || buf[5] != 'P' || buf[6] != 'L' || buf[7] != '1') break; +#endif for (i = 0; i < 16; i++) { v = g_dec_le2(buf + 512 + 10 + i * 32); |