From 5df21f9258160fffb5804123fe9aaa50bad6be01 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 20 Oct 2002 19:18:07 +0000 Subject: Make the sectorsize a property of providers so we can include it in the XML output. Sponsored by: DARPA & NAI Labs --- sys/geom/geom_sunlabel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/geom/geom_sunlabel.c') 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); -- cgit v1.1