Jeroen van Wolffelaar <[EMAIL PROTECTED]> 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.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
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