HP-300's hd is now gone. svnd transmorgified into vnd in 2011. No
authorkrw <krw@openbsd.org>
Thu, 10 Nov 2022 15:26:38 +0000 (15:26 +0000)
committerkrw <krw@openbsd.org>
Thu, 10 Nov 2022 15:26:38 +0000 (15:26 +0000)
need to keep checking for these device names.

sbin/disklabel/editor.c

index dde1071..00c838e 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: editor.c,v 1.379 2022/11/09 22:25:27 krw Exp $        */
+/*     $OpenBSD: editor.c,v 1.380 2022/11/10 15:26:38 krw Exp $        */
 
 /*
  * Copyright (c) 1997-2000 Todd C. Miller <millert@openbsd.org>
@@ -1373,9 +1373,7 @@ getdisktype(struct disklabel *lp, char *banner, char *dev)
                { "sd",   "SCSI" },
                { "wd",   "IDE" },
                { "fd",   "FLOPPY" },
-               { "hd",   "HP-IB" },
                { "vnd",  "VND" },
-               { "svnd", "VND" },
        };
 
        if ((s = basename(dev)) != NULL) {