nanog mailing list archives
Re: REMINDER: LEAP SECOND
From: Jimmy Hess <mysidia () gmail com>
Date: Sun, 21 Jun 2015 02:02:47 -0500
On Sun, Jun 21, 2015 at 1:06 AM, <Valdis.Kletnieks () vt edu> wrote:
On Sat, 20 Jun 2015 19:06:29 -0400, Jay Ashworth said:
[snip]
I'll let the perpetrator, Richard Stallman, explain. It was a kerfluffle regarding whether /bin/du should use units of 1,000 or 1024. http://karmak.org/archive/2003/01/12-14-99.epl.html
It's not 1024 vs 1000; it's 1024 vs 512. If it's "du" or "df"; the display is supposed to be the number of 512-Byte blocks..... Thankfully, the -k and -g options were added to display in Kilobyte or Gigabyte units which are more human understandable and familiar. Some of the GNU utilities play fast and loose on the spec and default to 1024-byte blocks. If you set POSIXLY_CORRECT in the environment, they will show in 512 byte blocks, or the disk sector size in bytes, instead, like they are "supposed to" -- -JH
Current thread:
- REMINDER: LEAP SECOND Jay Ashworth (Jun 19)
- Re: REMINDER: LEAP SECOND Alexander Maassen (Jun 19)
- Re: REMINDER: LEAP SECOND Saku Ytti (Jun 19)
- Re: REMINDER: LEAP SECOND Harlan Stenn (Jun 19)
- Re: REMINDER: LEAP SECOND Saku Ytti (Jun 20)
- Re: REMINDER: LEAP SECOND Steve Allen (Jun 20)
- Re: REMINDER: LEAP SECOND Jay Ashworth (Jun 20)
- Re: REMINDER: LEAP SECOND Valdis . Kletnieks (Jun 20)
- Re: REMINDER: LEAP SECOND Jay Ashworth (Jun 20)
- Re: REMINDER: LEAP SECOND Valdis . Kletnieks (Jun 20)
- Re: REMINDER: LEAP SECOND Jimmy Hess (Jun 21)
- Re: REMINDER: LEAP SECOND Jay Ashworth (Jun 21)
- Re: REMINDER: LEAP SECOND Harlan Stenn (Jun 19)
- Re: REMINDER: LEAP SECOND Tony Finch (Jun 22)
- Re: REMINDER: LEAP SECOND Stephane Bortzmeyer (Jun 22)
- Re: REMINDER: LEAP SECOND Bjoern A. Zeeb (Jun 22)
- Re: REMINDER: LEAP SECOND Stephane Bortzmeyer (Jun 22)
- Re: REMINDER: LEAP SECOND Saku Ytti (Jun 22)
- Re: REMINDER: LEAP SECOND Randy Bush (Jun 22)
- Re: REMINDER: LEAP SECOND Marshall Eubanks (Jun 22)
- Re: REMINDER: LEAP SECOND Alan Buxey (Jun 22)
- Re: REMINDER: LEAP SECOND Tony Finch (Jun 22)