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]

Parameter Description

Table 1 Parameters

Parameter

Description

Value Range

directory

Indicates the file system directory.

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

Usage

The printed information varies depending on the file system.

Example

The following uses the NFS file system as an example:

Enter statfs /nfs.

Figure 1 Output of the statfs command