diff options
author | Mike Smith <msmith@FreeBSD.org> | 2000-05-30 15:18:30 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 2000-05-30 15:18:30 +0000 |
commit | 63117339447ba58d0c6a89d14e42aaa49cf1e714 (patch) | |
tree | 951c6977461be7f09d7cf57b9d918d2e91148260 /lib/libdisk/create_chunk.c | |
parent | eb3846c42092feec7d69ff698d3ee178c77646dc (diff) |
De-support 'wd'; with it making a dual appearance with 'ad', things
depending on libdisk to detect a list of actually-there disk devices
were providing duplicate entries (eg. sysinstall).
Notes
Notes:
svn path=/head/; revision=61093
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r-- | lib/libdisk/create_chunk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 929266477fe1..52734281266c 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -279,9 +279,7 @@ MakeDev(struct chunk *c1, const char *path) if (!strcmp(p, "X")) return 0; - if (!strncmp(p, "wd", 2)) - cmaj = 3, p += 2; - else if (!strncmp(p, "ad", 2)) + if (!strncmp(p, "ad", 2)) cmaj = 116, p += 2; else if (!strncmp(p, "wfd", 3)) cmaj = 87, p += 3; |