https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238258

Kyle Evans <kev...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tso...@freebsd.org

--- Comment #9 from Kyle Evans <kev...@freebsd.org> ---
CC'ing tsoome@; partitionless disk setups were somewhat intentionally broken in
r342151 [0] because they pose a number of problems (outlined in the commit
message linked). loader/libsa built with the patch at [1] should workaround
this, but more consideration needs to be made for loader handling these setups.

[0] https://svnweb.freebsd.org/base?view=revision&revision=342151
[1]

Index: stand/libsa/zfs/zfs.c
===================================================================
--- stand/libsa/zfs/zfs.c       (revision 349913)
+++ stand/libsa/zfs/zfs.c       (working copy)
@@ -580,11 +580,10 @@
        pa.fd = open(devname, O_RDONLY);
        if (pa.fd == -1)
                return (ENXIO);
-       /*
-        * We will not probe the whole disk, we can not boot from such
-        * disks and some systems will misreport the disk sizes and will
-        * hang while accessing the disk.
-        */
+       /* Probe the whole disk */
+       ret = zfs_probe(pa.fd, pool_guid);
+       if (ret == 0)
+               return (0);
        if (archsw.arch_getdev((void **)&dev, devname, NULL) == 0) {
                int partition = dev->d_partition;
                int slice = dev->d_slice;

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to