Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161411582
D57801.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
D57801.id.diff
View Options
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -340,9 +340,20 @@
}
#endif
+/*
+ * Try the passed in partition or entire disk to see if we can find a bootable
+ * partition or zpool.
+ */
static bool
-try_as_currdev(pdinfo_t *hd, pdinfo_t *pp)
+try_as_currdev(pdinfo_t *pp, bool verbose)
{
+ if (verbose) {
+ CHAR16 *text = efi_devpath_name(pp->pd_devpath);
+ if (text != NULL) {
+ printf("Trying: %S\n", text);
+ efi_free_devpath_name(text);
+ }
+ }
#ifdef EFI_ZFS_BOOT
uint64_t guid;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 4, 12:59 PM (2 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34304382
Default Alt Text
D57801.id.diff (583 B)
Attached To
Mode
D57801: loader.efi: Add verbose flag to try_as_currdev
Attached
Detach File
Event Timeline
Log In to Comment