From: niklas Date: Sun, 23 Feb 1997 02:33:05 +0000 (+0000) Subject: Spoof ISO 9660 disklabels X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=762f5156f1acf85de045972bbad5a0ebb6a752cb;p=openbsd Spoof ISO 9660 disklabels --- 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) { /*