statfs

Command Function

This command is used to print information about a file system, such as the type, total size, and available size.

Syntax

statfs [directory]

Parameters

Table 1 Parameter description

Parameter

Description

Value Range

directory

Specifies the file system directory.

The file system must exist and support the statfs command. Currently, the file systems JFFS2, FAT, and NFS are supported.

Usage

The printed information varies depending on the file system.

Example

The following uses the NFS as an example:

Run statfs /nfs.

Figure 1 Output of the statfs command