From owner-freebsd-questions Tue Aug 17 11:34:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.240.222]) by hub.freebsd.org (Postfix) with ESMTP id 4A47114CD3 for ; Tue, 17 Aug 1999 11:34:25 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.3/8.9.1) id LAA17417; Tue, 17 Aug 1999 11:34:08 -0700 (PDT) (envelope-from mph) Date: Tue, 17 Aug 1999 11:34:07 -0700 From: Matthew Hunt To: Zhihui Zhang Cc: rssh@grad.kiev.ua, freebsd-questions@freebsd.org Subject: Re: Explain the output of ls Message-ID: <19990817113407.A17364@wopr.caltech.edu> References: <19990817112813.A17198@wopr.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Zhihui Zhang on Tue, Aug 17, 1999 at 02:18:56PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Aug 17, 1999 at 02:18:56PM -0400, Zhihui Zhang wrote: > > Maybe you have BLOCKSIZE=K in your environment? > > Yes. I tried "setenv BLOCKSIZE=512" without success (I am using tcsh). The syntax for csh and tcsh does not have the equals sign. Try "setenv BLOCKSIZE 512". I have confirmed that ls(1) reports 512-blocks when BLOCKSIZE is unset or set to 512, and 1k-blocks when BLOCKSIZE is set to K. -- Matthew Hunt * UNIX is a lever for the http://www.pobox.com/~mph/ * intellect. -J.R. Mashey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message