diff options
author | msmith <msmith@FreeBSD.org> | 1999-05-04 22:44:48 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-05-04 22:44:48 +0000 |
commit | bccd81a06af6c49838347034132878a246b31f80 (patch) | |
tree | 4ecc83572ad75a21940d9f52b9be435652372083 /lib/libdisk/create_chunk.c | |
parent | 71a93464d5d445ed2e88880ed517e3914244b32d (diff) | |
download | FreeBSD-src-bccd81a06af6c49838347034132878a246b31f80.zip FreeBSD-src-bccd81a06af6c49838347034132878a246b31f80.tar.gz |
Clean up after another half-Danish.
Add 'ad' as another known disk driver of the same kind as 'wd'.
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r-- | lib/libdisk/create_chunk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 9bb8dd5..5b9c6f4 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: create_chunk.c,v 1.33 1999/01/08 00:32:19 jkh Exp $ + * $Id: create_chunk.c,v 1.34 1999/01/14 21:48:13 phk Exp $ * */ @@ -260,6 +260,8 @@ MakeDev(struct chunk *c1, const char *path) if (!strncmp(p, "wd", 2)) bmaj = 0, cmaj = 3, p += 2; + 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)) |