summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2004-08-02 19:14:58 +0000
committerle <le@FreeBSD.org>2004-08-02 19:14:58 +0000
commitab2f52db36ebfd77f33a1da8ac95c50e05705f01 (patch)
treedafe57bd5c016b02a892242bbd84a38b765f6abb /lib/libdisk
parent090a3e72f1659b6ad1b489096802f1a989dc8dc2 (diff)
downloadFreeBSD-src-ab2f52db36ebfd77f33a1da8ac95c50e05705f01.zip
FreeBSD-src-ab2f52db36ebfd77f33a1da8ac95c50e05705f01.tar.gz
Ignore geom_vinum providers.
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/open_disk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libdisk/open_disk.c b/lib/libdisk/open_disk.c
index cad9dab..afcf2f4 100644
--- a/lib/libdisk/open_disk.c
+++ b/lib/libdisk/open_disk.c
@@ -263,6 +263,8 @@ Int_Open_Disk(const char *name, char *conftxt)
; /* nothing */
else if (!strcmp(t, "APPLE"))
i = Add_Chunk(d, off, len, n, apple, 0, 0, sn);
+ else if (strstr(t, "VINUM") != NULL)
+ ; /* nothing */
else {
printf("BARF %d\n", __LINE__);
exit(0);
OpenPOWER on IntegriCloud