On Thu, Mar 12, 2020, 1:37 AM Steve Nickolas <usotsuki@buric.co> wrote:
On Thu, 12 Mar 2020, Peter Jeremy wrote:

> On 2020-Mar-11 20:53:12 -0400, Steve Nickolas <usotsuki@buric.co> wrote:
>
>> I felt -s was a redundant "kindasorta -l".
>
> Except they are reporting completely different things - consider sparse
> files or filesystems (like ZFS) that support compression.

I was under the impression that -s simply showed the file size divided by
512 and didn't account for sparseness or compression.

Stat returns two values. The offset of the last byte and the number of blocks allocated to the file. Useful if you have a sparse file too...

Warner 

(Of the filesystems I frequently work with, one of them does actually
support sparseness (ProDOS).)

-uso.