Page MenuHomeFreeBSD

D56514.diff
No OneTemporary

D56514.diff

diff --git a/lib/geom/part/geom_part.c b/lib/geom/part/geom_part.c
--- a/lib/geom/part/geom_part.c
+++ b/lib/geom/part/geom_part.c
@@ -653,7 +653,7 @@
secsz = pp->lg_sectorsize;
xo_open_instance("part");
xo_emit("=>{t:start/%*jd} {t:sectors/%*jd} "
- "{t:name/%*s} {:scheme} ({h:size/%jd})"
+ "{t:name/%*s} {:scheme} ({h,hn-decimal:size/%jd})"
"{t:state}\n",
wblocks, (intmax_t)first, wblocks, (intmax_t)(last - first + 1),
wname, gp->lg_name, scheme, (intmax_t)pp->lg_mediasize,
@@ -675,7 +675,7 @@
xo_emit(" {t:start/%*jd} "
"{t:sectors/%*jd} "
"{P:/%*s} "
- "{ne:free}- free - ({h:size/%jd})\n",
+ "{ne:free}- free - ({h,hn-decimal:size/%jd})\n",
wblocks, (intmax_t)first,
wblocks, (intmax_t)(sector - first),
wname, "",
@@ -723,7 +723,7 @@
}
if (idx)
xo_emit("]");
- xo_emit(" ({h:size/%jd})\n", (intmax_t)pp->lg_mediasize);
+ xo_emit(" ({h,hn-decimal:size/%jd})\n", (intmax_t)pp->lg_mediasize);
xo_close_instance(s);
first = end + 1;
}
@@ -732,7 +732,7 @@
xo_open_instance("unallocated");
length = last - first + 1;
xo_emit(" {t:start/%*jd} {t:sectors/%*jd} "
- "{P:/%*s} {ne:free}- free - ({h:size/%jd})\n",
+ "{P:/%*s} {ne:free}- free - ({h,hn-decimal:size/%jd})\n",
wblocks, (intmax_t)first, wblocks, (intmax_t)length,
wname, "", "true", (intmax_t)length * secsz);
xo_close_instance("unallocated");

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 3, 8:03 AM (8 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40105419
Default Alt Text
D56514.diff (1 KB)

Event Timeline