Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 17:49:23 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/i386/libi386 biosdisk.c
Message-ID:  <200802281749.m1SHnOmW076531@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802281749.m1SHnOmW076531>