1 Star 0 Fork 5.3K

baiyun / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
statfs.md 2.49 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

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

1
https://gitee.com/baiyunhaishang/docs.git
git@gitee.com:baiyunhaishang/docs.git
baiyunhaishang
docs
docs
master

搜索帮助