From owner-freebsd-questions Wed Aug 6 23:48:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA23034 for questions-outgoing; Wed, 6 Aug 1997 23:48:57 -0700 (PDT) Received: from nico.telstra.net (nico.telstra.net [139.130.204.16]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id XAA23026 for ; Wed, 6 Aug 1997 23:48:50 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by nico.telstra.net (8.6.10/8.6.10) with ESMTP id QAA23444; Thu, 7 Aug 1997 16:49:16 +1000 From: Greg Lehey Received: (grog@localhost) by freebie.lemis.com (8.8.7/8.6.12) id QAA12945; Thu, 7 Aug 1997 16:18:16 +0930 (CST) Message-Id: <199708070648.QAA12945@freebie.lemis.com> Subject: Re: File Size (quota.user) In-Reply-To: from "andrew@ugh.net.au" at "Aug 7, 97 04:28:46 pm" To: andrew@ugh.net.au Date: Thu, 7 Aug 1997 16:18:16 +0930 (CST) Cc: questions@FreeBSD.org (FreeBSD Questions) Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk andrew@ugh.net.au writes: > On Thu, 7 Aug 1997, Greg Lehey wrote: > >> Not if the file is full up to the point indicated by the 'size' >> parameter. In this case, you have a file with holes in it--something >> is allocated at the end, and possibly somewhere else, but there are >> areas in the address space which aren't allocated. > > So the file starts at point x, finishes at point y. ls -l gives y-x but > the others give actual used space? Correct. Of course, it could consist of a number of disparate parts (like start at the beginning, go for a while, skip for a while, go for a while, skip for a while, go for a while). About the only thing you can be sure of is that the last block is allocated. Greg