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_sunlabel.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_sunlabel.c')
-rw-r--r-- | sys/geom/geom_sunlabel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c index 97a7390..78d496a 100644 --- a/sys/geom/geom_sunlabel.c +++ b/sys/geom/geom_sunlabel.c @@ -172,6 +172,7 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags) pp2 = g_slice_addslice(gp, i, ((off_t)v * csize) << 9ULL, ((off_t)u) << 9ULL, + sectorsize, "%s%c", pp->name, 'a' + i); g_topology_unlock(); g_error_provider(pp2, 0); |