NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/59956: gpt(8): show human-readable units



The following reply was made to PR bin/59956; it has been noted by GNATS.

From: Rob Whitlock <rwhitlock22%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/59956: gpt(8): show human-readable units
Date: Wed, 4 Feb 2026 10:05:35 -0500

 > On Feb 3, 2026, at 9:35 PM, Robert Elz via gnats =
 <gnats-admin%NetBSD.org@localhost> wrote:
 >=20
 > The following reply was made to PR bin/59956; it has been noted by =
 GNATS.
 >=20
 > From: Robert Elz <kre%munnari.OZ.AU@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:=20
 > Subject: Re: bin/59956: gpt(8): show human-readable units
 > Date: Wed, 04 Feb 2026 09:31:22 +0700
 >=20
 >     Date:        Tue,  3 Feb 2026 18:40:01 +0000 (UTC)
 >     From:        "Rob Whitlock via gnats" <gnats-admin%NetBSD.org@localhost>
 >     Message-ID:  <20260203184001.6F4981A923E%mollari.NetBSD.org@localhost>
 >=20
 >   |  Human readable sizes are available when you add the -a option to =
 gpt
 >   |  show.
 >=20
 > Yes, I know, that's what I meant when I said:
 >=20
 > 	(note that the code always printed (a degree of) humanized
 > 	numbers when used as show -a, or show -[ib] arg, it is only
 > 	the simple "show" case (to print the entire GPT table) where
 > 	it never did.)
 
 Right, I=E2=80=99m not sure how I missed that.
 
 [snip]
 
 > Opinions remain welcome - now is the best time to request something =
 different
 > (ie: before I write doc!)
 
 The only thing I can think of is to perhaps keep it parseable by fields, =
 so
 
         1T 775G 270M  63G 771M 71K 512B      3  GPT part - NetBSD swap
 
 would be something like
 
         1T,775G,270M  63G,771M,71K,512B      3  GPT part - NetBSD swap
 
 or whatever the appropriate separator is for the current locale.
 
 > kre
 >=20
 


Home | Main Index | Thread Index | Old Index