[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#294206: stat(1) unclear about block size

From: Andreas Schwab
Subject: Re: Bug#294206: stat(1) unclear about block size
Date: Tue, 08 Feb 2005 23:04:58 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Jeroen van Wolffelaar <address@hidden> writes:

> On Tue, Feb 08, 2005 at 05:43:08PM +0100, Jim Meyering wrote:
>> Does stat's --file-system (-f) option do what you want?
>>     $ stat -f /
>>       File: "/"
>>         ID: 0        Namelen: 255     Type: ext2/ext3
>>     Blocks: Total: 1032080    Free: 887328     Available: 834894     Size: 
>> 4096
> No, as strace-ing reveals only statfs is called,

Which is completely correct.  Linux does not have a statvfs syscall,
everything is in the C library.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]