svn commit: r341230 - stable/12/stand/i386/loader
Toomas Soome
tsoome at FreeBSD.org
Thu Nov 29 13:58:42 UTC 2018
Author: tsoome
Date: Thu Nov 29 13:58:41 2018
New Revision: 341230
URL: https://svnweb.freebsd.org/changeset/base/341230
Log:
MFC r340047:
loader: do not probe floppy devices for zfs
Floppy devices do not have enough space for ZFS pool.
Modified:
stable/12/stand/i386/loader/main.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/stand/i386/loader/main.c
==============================================================================
--- stable/12/stand/i386/loader/main.c Thu Nov 29 13:55:57 2018 (r341229)
+++ stable/12/stand/i386/loader/main.c Thu Nov 29 13:58:41 2018 (r341230)
@@ -399,6 +399,8 @@ i386_zfs_probe(void)
for (unit = 0; unit < MAXBDDEV; unit++) {
if (bd_unit2bios(unit) == -1)
break;
+ if (bd_unit2bios(unit) < 0x80)
+ continue;
sprintf(devname, "disk%d:", unit);
zfs_probe_dev(devname, NULL);
}
More information about the svn-src-stable
mailing list