diff options
author | phk <phk@FreeBSD.org> | 2002-10-20 19:18:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-20 19:18:07 +0000 |
commit | 5df21f9258160fffb5804123fe9aaa50bad6be01 (patch) | |
tree | e5862f7e08664b410047651c04c18a85f96a64f8 /sys/geom/geom_dump.c | |
parent | 6539d532098bbfd2bef664a338eed9447e734f60 (diff) | |
download | FreeBSD-src-5df21f9258160fffb5804123fe9aaa50bad6be01.zip FreeBSD-src-5df21f9258160fffb5804123fe9aaa50bad6be01.tar.gz |
Make the sectorsize a property of providers so we can include it in the XML
output.
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom/geom_dump.c')
-rw-r--r-- | sys/geom/geom_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_dump.c b/sys/geom/geom_dump.c index b8c9c8b..3827229 100644 --- a/sys/geom/geom_dump.c +++ b/sys/geom/geom_dump.c @@ -146,6 +146,7 @@ g_conf_provider(struct sbuf *sb, struct g_provider *pp) sbuf_printf(sb, "\t <name>%s</name>\n", pp->name); sbuf_printf(sb, "\t <mediasize>%jd</mediasize>\n", (intmax_t)pp->mediasize); + sbuf_printf(sb, "\t <sectorsize>%u</sectorsize>\n", pp->sectorsize); if (pp->geom->dumpconf) { sbuf_printf(sb, "\t <config>\n"); pp->geom->dumpconf(sb, "\t ", pp->geom, NULL, pp); |