On 11/7/18 5:58 PM, Bernhard Voelker wrote:
> tag 33303 notabug
> close 33303
> thanks
> 
> On 11/7/18 5:07 PM, L A Walsh wrote:
>> Was looking to see when the underlying filesystem
>> changed in a path.
>>
>> I used:
>>>  stat -f -c%f /
>> 82100000000
>> stat -f -c%i /var
>> 82200000000

sorry, I overlooked the %i example:

%i comes from the f_sid member of the returned structure from statfs(),
just printed in hex format:

  statfs("/", {..., f_fsid={val=[3357913161, 1752493561]}, ...}) = 0
  ...
  write(1, "c825b0496874edf9\n", 17)      = 17
  c825b0496874edf9
  close(1)                                = 0
  close(2)                                = 0
  exit_group(0)                           = ?
  +++ exited with 0 +++

  $ printf '%x' 3357913161 1752493561
  c825b0496874edf9

So it seems to be a quite some strange incident that your f_bfree value
is so eye-catchingly close to f_fsid.

Have a nice day,
Berny



Reply via email to