Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 1997 16:18:16 +0930 (CST)
From:      Greg Lehey <grog@lemis.com>
To:        andrew@ugh.net.au
Cc:        questions@FreeBSD.org (FreeBSD Questions)
Subject:   Re: File Size (quota.user)
Message-ID:  <199708070648.QAA12945@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.96.970807162313.13162E-100000@depravitas.tuu.utas.edu.au> from "andrew@ugh.net.au" at "Aug 7, 97 04:28:46 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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