cvs commit: src/sys/boot/i386/libi386 biosdisk.c
John Baldwin
jhb at FreeBSD.org
Thu Feb 28 17:49:24 UTC 2008
jhb 2008-02-28 17:49:23 UTC
FreeBSD src repository
Modified files:
sys/boot/i386/libi386 biosdisk.c
Log:
Tweak the verbose disk printing a bit:
- Consolidate the code to humanize the size of a disk partition into a
single function based on the code for GPT partitions and use it for
GPT partitions, BSD slices, and BSD partitions.
- Teach the humanize code to use KB for small partitions (e.g. GPT boot
partitions now show up as 64KB rather than 0MB).
- Pad a few partition type names out so that things line up in the
common case.
MFC after: 1 week
Revision Changes Path
1.55 +51 -59 src/sys/boot/i386/libi386/biosdisk.c
More information about the cvs-src
mailing list