Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167191849
D18558.id52073.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
614 B
Referenced Files
None
Subscribers
None
D18558.id52073.diff
View Options
Index: head/stand/libsa/zfs/zfs.c
===================================================================
--- head/stand/libsa/zfs/zfs.c
+++ head/stand/libsa/zfs/zfs.c
@@ -527,10 +527,11 @@
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
+ * disks and some systems will misreport the disk sizes and will
+ * hang while accessing the disk.
+ */
/* Probe each partition */
ret = ioctl(pa.fd, DIOCGMEDIASIZE, &mediasz);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 20, 7:21 PM (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37006648
Default Alt Text
D18558.id52073.diff (614 B)
Attached To
Mode
D18558: loader: zfs reader should not probe partitionless disks
Attached
Detach File
Event Timeline
Log In to Comment