summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-11-27 21:20:57 +0000
committermsmith <msmith@FreeBSD.org>1999-11-27 21:20:57 +0000
commit517fd10f04dfa7336b4d714a1f30e45cd25ce024 (patch)
treef5bea3fb4c9b47cb1b2c40d871b581310fd48d9f /lib/libdisk
parentd887bc094aa0919370d35c6bfadc6d8a8ab775c9 (diff)
downloadFreeBSD-src-517fd10f04dfa7336b4d714a1f30e45cd25ce024.zip
FreeBSD-src-517fd10f04dfa7336b4d714a1f30e45cd25ce024.tar.gz
Remove 'sd' support. SCSI disks are known as 'da' these days.
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/create_chunk.c2
-rw-r--r--lib/libdisk/disk.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 8c5ed64..95b10ae 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -255,8 +255,6 @@ MakeDev(struct chunk *c1, const char *path)
bmaj = 0, cmaj = 3, p += 2;
else if (!strncmp(p, "ad", 2)) /* XXX change if "ad' moves */
bmaj = 0, cmaj = 3, p += 2;
- else if (!strncmp(p, "sd", 2))
- bmaj = 4, cmaj = 13, p += 2;
else if (!strncmp(p, "wfd", 3))
bmaj = 1, cmaj = 87, p += 3;
else if (!strncmp(p, "fla", 3))
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index cd25b37..cae69a0 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -375,7 +375,7 @@ Collapse_Disk(struct disk *d)
}
#endif
-static char * device_list[] = {"wd", "ad", "sd", "da", "wfd", "fla", "ida", "mlxd", "amrd", 0};
+static char * device_list[] = {"wd", "ad", "da", "wfd", "fla", "ida", "mlxd", "amrd", 0};
char **
Disk_Names()
OpenPOWER on IntegriCloud