Date: Thu, 7 Aug 1997 15:44:52 +0930 (CST) From: Greg Lehey <grog@lemis.com> To: andrew@ugh.net.au Cc: questions@FreeBSD.ORG Subject: Re: File Size (quota.user) Message-ID: <199708070614.PAA02058@freebie.lemis.com> In-Reply-To: <Pine.BSF.3.96.970807133557.2735E-100000@depravitas.tuu.utas.edu.au> from "andrew@ugh.net.au" at "Aug 7, 97 01:38:19 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
andrew@ugh.net.au writes: > Hi, > > If I type ls -s quota.user I get: > > 48 quota.user > > If I type du -ks quota.user I get: > > 48 quota.user > > But if I type ls -l quota.user I get: > > -rw-r----- 1 root operator 2097120 Aug 7 13:32 quota.user > > That dosnt seem to add up.... 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. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708070614.PAA02058>