On Sun, Dec 16, 2018 at 08:58:15AM +0000, Toomas Soome wrote:
> New Revision: 342151
> URL: https://svnweb.freebsd.org/changeset/base/342151
> 
> Log:
>   loader: zfs reader should not probe partitionless disks
>   
> @@ -527,10 +527,11 @@ zfs_probe_dev(const char *devname, uint64_t *pool_guid
>       pa.fd = open(devname, O_RDONLY);
>       if (pa.fd == -1)
>               return (ENXIO);
> -     /* Probe the whole disk */
> -     ret = zfs_probe(pa.fd, pool_guid);
> -     if (ret == 0)
> -             return (0);
> +     /*
> +      * We will not probe the whole disk, we can not boot from such

I think you mean "cannot" here.

> +      * disks and some systems will misreport the disk sizes and will
> +      * hang while accessing the disk.
> +      */

./danfe
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to