diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c
--- a/sys/geom/geom_disk.c
+++ b/sys/geom/geom_disk.c
@@ -600,6 +600,9 @@
return;
}
if (pp != NULL) {
+ sbuf_printf(sb, "%s", indent);
+ g_conf_cat_escaped(sb, dp->d_attachment);
+ sbuf_cat(sb, "\n");
sbuf_printf(sb, "%s%u\n",
indent, dp->d_fwheads);
sbuf_printf(sb, "%s%u\n",