Linux查看目录挂载点 (centos 查看分区挂载哪个目录)

1

用命令 df 即可

# df /var/lib/

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/sda3 135979984 66905292 62055896 52% /

加上-kh更容易看些:

# df /var/lib/ -kh

Filesystem Size Used Avail Use% Mounted on

/dev/sda3 130G 64G 60G 52% /

# df -kh

Filesystem Size Used Avail Use% Mounted on

/dev/sda3 130G 64G 60G 52% /

/dev/sda1 99M 18M 76M 20% /boot

tmpfs 12G 0 12G 0% /dev/shm

/dev/sdb 458G 379G 56G 88% /data

2 centos 查看分区挂载哪个目录

df

mount

都能看

    原文作者:iteye_19209
    原文地址: https://blog.csdn.net/iteye_19209/article/details/82675564
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞