delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43D710DF.1090204@tlinx.org> |
Date: | Tue, 24 Jan 2006 21:47:11 -0800 |
From: | "L. A. Walsh" <cygwin AT tlinx DOT org> |
User-Agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: disk space allocation (du, ls et al?) |
References: | <3B223242100469459AABA3B0662ED8340238C466 AT MN65EV801 DOT global DOT ds DOT honeywell DOT com> |
In-Reply-To: | <3B223242100469459AABA3B0662ED8340238C466@MN65EV801.global.ds.honeywell.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Baksik, Frederick (NM75) wrote: > the info pages state for these tools: > > If none of the above environment variables are set, the block size >currently defaults to 1024 bytes in most contexts, but this number may >change in the future. For `ls' file sizes, the block size defaults to >1 byte. > > Er, yeah...though I'm referring to the allocated size. But my problem is "different" than I thought it was. I cleared up the network problem (smb block size & allocation roundup) but on my local disk, it had to do with looking in the "wrong" directory (my root directory): in my root directory I have file "boot.bak" that is 253 bytes: /c> ls -lgG boot.bak -rw-r----- 1 253 Jun 20 2004 boot.bak Allocated size (showing 1k instead of 16k) shows: /c> ls -sS boot.bak 1 boot.bak I copy it to a subdirectory and it shows the correct size /c> mkdir newsub; cp boot.bak newsub /c> ls -s /c/boot.bak /c/newsub/boot.bak 1 /c/boot.bak 16 /c/newsub/boot.bak ^ bad size ^ correct size This would appear to be a bug of some sort... FYI, I just downloaded latest cyg versions last night (so am using new cygwin.dll). Weird. Linda -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |