Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115734572
D36606.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
410 B
Referenced Files
None
Subscribers
None
D36606.diff
View Options
diff --git a/stand/kboot/hostdisk.c b/stand/kboot/hostdisk.c
--- a/stand/kboot/hostdisk.c
+++ b/stand/kboot/hostdisk.c
@@ -127,6 +127,12 @@
static int
hostdisk_print(int verbose)
{
- return (0);
-}
+ char line[80];
+ printf("%s devices:", hostdisk.dv_name);
+ if (pager_output("\n") != 0)
+ return (1);
+
+ snprintf(line, sizeof(line), " /dev%d: Host disk\n", 0);
+ return (pager_output(line));
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 28, 9:24 PM (12 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17833812
Default Alt Text
D36606.diff (410 B)
Attached To
Mode
D36606: kboot: hostdisk add to lsdev output
Attached
Detach File
Event Timeline
Log In to Comment