关于linux下mount和df查看挂载的区别



mount -l和df -h到底有何区别呢?

[liuqiang2@mu02 ~]$ mount -l
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/kernel/config type configfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.51:/public on /public type nfs (rw,vers=3,addr=192.168.1.51)
nfsd on /proc/fs/nfsd type nfsd (rw)
192.168.1.51@tcp:/lustre on /lustre type lustre (rw)
/lustre/home on /home type none (rw,bind)
 
[liuqiang2@mu02 ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             244G  117G  115G  51% /
tmpfs                  16G     0   16G   0% /dev/shm
/dev/sda1             291M   37M  239M  14% /boot
192.168.1.51:/public   20T  903G   19T   5% /public
192.168.1.51@tcp:/lustre
                      108T  586G  102T   1% /lustre

你可能感兴趣的:(关于linux下mount和df查看挂载的区别)