diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-23 02:33:06 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-23 02:33:06 +0000 |
commit | 456510f070b26f4d22a879f04cf6c8c2c11b473b (patch) | |
tree | 7792a1089c9cc0b05871f5b0a5d6430655b854bf /sys/arch | |
parent | 9d4d0019c2c899ecb1ab16e096c43fa15e7360da (diff) |
Spoof ISO 9660 disklabels
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amiga/amiga/disksubr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/amiga/amiga/disksubr.c b/sys/arch/amiga/amiga/disksubr.c index 6073e259b08..80533c08e76 100644 --- a/sys/arch/amiga/amiga/disksubr.c +++ b/sys/arch/amiga/amiga/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.10 1997/02/21 09:06:18 niklas Exp $ */ +/* $OpenBSD: disksubr.c,v 1.11 1997/02/23 02:33:05 niklas Exp $ */ /* $NetBSD: disksubr.c,v 1.27 1996/10/13 03:06:34 christos Exp $ */ /* @@ -193,6 +193,10 @@ readdisklabel(dev, strat, lp, clp) goto done; } msg = "no rdb nor BSD disklabel found"; +#if defined(CD9660) + if (iso_disklabelspoof(dev, strat, lp) == 0) + msg = NULL; +#endif goto done; } else if (msg) { /* |