Solaris Transition Guide

df Command

The df command has been changed to support the VFS architecture. As with the other VFS commands, there are generic and file-system versions of the command. The syntax in the SunOS release 5.7 command differs significantly from that used in the SunOS release 4 version (see Appendix A, Commands Reference Table, for more information). For more information on VFS, see "Virtual File System Architecture".

The df command now reports disk space in 512-byte blocks instead of kilobytes, but the -k option can be used to report disk space in kilobytes. Also, the -t option behaves differently; formerly, it restricted the output to file systems of a specified type (for example, "nfs" or "4.2"). The SunOS release 5.7 version produces a full listing with totals.

Finally, use the SunOS release 5.7 device naming conventions when specifying special device names to this command. See "Device Naming Conventions" for details.