From 762f5156f1acf85de045972bbad5a0ebb6a752cb Mon Sep 17 00:00:00 2001 From: niklas Date: Sun, 23 Feb 1997 02:33:05 +0000 Subject: [PATCH] Spoof ISO 9660 disklabels --- sys/arch/amiga/amiga/disksubr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { /* -- 2.20.1