summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom_bsd.c')
-rw-r--r--sys/geom/geom_bsd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index 27c4c8a..d232fd0 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -696,6 +696,13 @@ g_bsd_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_
indent, (intmax_t)ms->rawoffset);
sbuf_printf(sb, "%s<mbroffset>%jd</mbroffset>\n",
indent, (intmax_t)ms->mbroffset);
+ } else if (pp != NULL) {
+ if (indent == NULL)
+ sbuf_printf(sb, " ty %d",
+ ms->inram.d_partitions[pp->index].p_fstype);
+ else
+ sbuf_printf(sb, "%s<type>%d</type>\n", indent,
+ ms->inram.d_partitions[pp->index].p_fstype);
}
}
OpenPOWER on IntegriCloud