Source-Changes archive

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

CVS commit: src/usr.sbin/puffs/mount_psshfs



Module Name:    src
Committed By:   pooka
Date:           Wed Feb  3 17:02:52 UTC 2010

Modified Files:
        src/usr.sbin/puffs/mount_psshfs: fs.c

Log Message:
  statvfs:

Since bresvd is not available from the server, calculate:
        bresvd = bfree - bavail.

Then df calculates:
        bavail = bfree - bresvd;

And we now get a much more accurate report from df on how much one
can write to the fs.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/puffs/mount_psshfs/fs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index