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);
     }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to