![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Report free disk space (POSIX)
df [-gknP] [device|directory|file]*
Neutrino
The df utility displays the amount of free disk space for the given devices, directories, and files.
![]() |
By default, df reports its figures in 512-byte units; if you specify the -k option, is uses 1024-byte units. Any block counts reported by the filesystem are rounded into 512- or 1024-byte units, and df always rounds down (i.e. to reflect whole blocks available). For a filesystem that doesn't use native 512-byte (or multiples thereof) blocks, this will result in round-off errors. |
statvfs() in the Library Reference
![]() |
![]() |
![]() |
![]() |