diff options
author | phk <phk@FreeBSD.org> | 2000-07-04 13:46:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-07-04 13:46:43 +0000 |
commit | 993cb1d94fc91849b548394143e230fa61400d5b (patch) | |
tree | 4e933471687d4ff58ea40784e84c97b8ce4407a3 /release | |
parent | 68d8eaff9645f037a6c674cbc23cb14a417e3aef (diff) | |
download | FreeBSD-src-993cb1d94fc91849b548394143e230fa61400d5b.zip FreeBSD-src-993cb1d94fc91849b548394143e230fa61400d5b.tar.gz |
Ignore all md disks, installing on them would be particularly pointless.
Its not fatal to find hardware we don't know.
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/devices.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c index 110f646..e8b20d9 100644 --- a/release/sysinstall/devices.c +++ b/release/sysinstall/devices.c @@ -435,9 +435,13 @@ skipif: Chunk *c1; Disk *d; + if (names[i][0] == 'm' && names[i][1] == 'd') + continue; d = Open_Disk(names[i]); - if (!d) - msgFatal("Unable to open disk %s", names[i]); + if (!d) { + msgDebug("Unable to open disk %s", names[i]); + continue; + } deviceRegister(names[i], names[i], d->name, DEVICE_TYPE_DISK, FALSE, dummyInit, dummyGet, dummyShutdown, d); |