From owner-freebsd-current Wed Jan 12 14:45:54 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 9EF351504E for ; Wed, 12 Jan 2000 14:45:52 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id RAA70144; Wed, 12 Jan 2000 17:45:29 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200001122151.QAA75948@khavrinen.lcs.mit.edu> References: <200001120201.SAA26378@gndrsh.dnsmgr.net> <200001122151.QAA75948@khavrinen.lcs.mit.edu> Date: Wed, 12 Jan 2000 17:45:51 -0500 To: Garrett Wollman From: Garance A Drosihn Subject: Re: Additional option to ls -l for large files Cc: "Rodney W. Grimes" , current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 4:51 PM -0500 1/12/00, Garrett Wollman wrote: >< said: > > > In 'ls' we are not talking about a block count, we are talking about > > a byte-count. > >ls -s Hmm, valid point. 'ls -l' is not using a block count though, and so all of my previous comments still make sense for 'ls -l' and the new option. 'ls -s' and the new option should follow a block count, but then 'ls -s' is showing a block count for ALL files that it lists. The examples I gave in my previous message don't end up as confusing for 'ls -s' as they do for 'ls -l'. Maybe the new option should not even apply to 'ls -s'? I have no preference for 'ls -s' behavior. In any case, I'm still saying that in practice, people will find it less confusing if 'ls -l' used 1000 as the divisor, not 1024. Or at least, I found it less confusing, when I have done this same thing. Yes, it may be "more pure" to use 1024 when comparing 'ls' listings to block counts, but it is less confusing WITHIN a single 'ls -l' listing if all the numbers are decimal, and not some combination of base-10 and base-2. 'ls -l' listings (without the -s...) are already a problem when comparing to 'du' or 'df' listings. --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message