diff options
author | jkh <jkh@FreeBSD.org> | 2000-07-05 07:15:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-07-05 07:15:57 +0000 |
commit | 0e7721bc5fe1b5e0f7eec9687641784cb231fe85 (patch) | |
tree | d8f54c38844ce7f9d4f683beff73adac094dee40 /release | |
parent | e51ae31c23ccd84f018e98edcebd89ae9d8a1e88 (diff) | |
download | FreeBSD-src-0e7721bc5fe1b5e0f7eec9687641784cb231fe85.zip FreeBSD-src-0e7721bc5fe1b5e0f7eec9687641784cb231fe85.tar.gz |
Replace phk's commit with code from my local tree which I happen
to like better (it's commented and easier to read).
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/devices.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c index e8b20d9..3067e76 100644 --- a/release/sysinstall/devices.c +++ b/release/sysinstall/devices.c @@ -435,8 +435,10 @@ skipif: Chunk *c1; Disk *d; - if (names[i][0] == 'm' && names[i][1] == 'd') + /* Ignore memory disks */ + if (!strncmp(names[i], "md", 2)) continue; + d = Open_Disk(names[i]); if (!d) { msgDebug("Unable to open disk %s", names[i]); |