svn commit: r340047 - head/stand/i386/loader

Toomas Soome tsoome at FreeBSD.org
Fri Nov 2 09:47:19 UTC 2018


Author: tsoome
Date: Fri Nov  2 09:47:18 2018
New Revision: 340047
URL: https://svnweb.freebsd.org/changeset/base/340047

Log:
  loader: do not probe floppy devices for zfs
  
  The subject is telling it all.

Modified:
  head/stand/i386/loader/main.c

Modified: head/stand/i386/loader/main.c
==============================================================================
--- head/stand/i386/loader/main.c	Fri Nov  2 08:28:14 2018	(r340046)
+++ head/stand/i386/loader/main.c	Fri Nov  2 09:47:18 2018	(r340047)
@@ -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-head mailing list