Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 14:49:39 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        MichaelV@EDIFECS.COM (Michael VanLoon)
Cc:        joerg@cs.waikato.ac.nz, current@FreeBSD.ORG
Subject:   Re: Additional option to ls -l for large files
Message-ID:  <200001112249.OAA25732@gndrsh.dnsmgr.net>
In-Reply-To: <8070C3A4E99ED211A63200105A19B99B3174A2@mail.edifecs.com> from Michael VanLoon at "Jan 11, 2000 02:39:50 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
[Charset windows-1252 unsupported, skipping...]
Arghh... windblows... 


> >> I'm currently dealing with an increasing set of *very* large files,
> >> most of them in the order of gigabytes. It becomes impossible to
> >> figure the size of a file with ls -l with 9 or more digits displayed.
> >> I would propose a new flag to ls which will together with option -l
> >> change the unit to kilobytes for files larger than one megabyte, to
> >> megabytes for files larger than one gigabyte and gigabytes for files
> >> larger than one terabyte. A 'k', 'm' or 'g' respectively should be
> >> appended.
> >> 
> >> Would such a patch find the blessing of the team and the maintainer
> >> of ls ?
> >
> >Another thing that ``works for me''.  Only make it ki, mi, and gi
> >to fit with the new binary mode international appreviation standards,
> >unless of cource you use base 10 divisors.
> 
> Why not KB, MB or GB, since that's what you're actually reporting?

Because KB MB and GB mean different things than KiB MiB and GiB.

K = 10^3, Ki = 2^10
M = 10^6  Mi = 2^20
G = 10^9  Gi = 2^30

> What is this "binary mode international abbreviation standard"?

See above...  

-- 
Rod Grimes - KD7CAX @ CN85sl - (RWG25)               rgrimes@gndrsh.dnsmgr.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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