linux 下查看硬盘分区类型

时间:2023-02-07 16:25:54


[root@localhost /]# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext4 9.9G 3.5G 5.9G 38% /
tmpfs tmpfs 1.9G 224K 1.9G 1% /dev/shm
/dev/sda1 ext4 97M 34M 59M 37% /boot
/dev/sda5 ext4 5.9G 140M 5.4G 3% /home
[root@localhost /]#
[root@localhost /]#
[root@localhost /]# df -Tk
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda2 ext4 10321208 3636056 6160864 38% /
tmpfs tmpfs 1962912 224 1962688 1% /dev/shm
/dev/sda1 ext4 99150 34391 59639 37% /boot
/dev/sda5 ext4 6089792 143192 5637252 3% /home
[root@localhost /]#