首页 > 代码库 > 查看挂载情况

查看挂载情况

查看文件系统的方法:

$ df -l
$ df -hl

Filesystem            Size  Used Avail Use% Mounted on
unionfs               1.9G  1.3G  454M  75% /
/dev/sda4              72G  2.6G   66G   4% /var
/dev/hda1             380M   26M  335M   8% /jdata
/dev/sda2             152M  151M     0 100% /jseed1
/dev/sda3             152M  151M     0 100% /jseed2
tmpfs                 252M     0  252M   0% /dev/shm
tmpfs                 252M  4.0K  252M   1% /tmp

 

查看单个目录挂载情况:

$ df -h /var

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda4              72G  2.6G   66G   4% /var

 

查看挂载情况