df -T 只可以檢視已經掛載的分割槽和檔案系統型別。
Filesystem Type 1K-blocks Used Available Use% Mounted on/dev/sda1 ext4 20642428 3698868 15894984 19% /tmpfs tmpfs 32947160 0 32947160 0% /dev/shm
fdisk -l 可以顯示出所有掛載和未掛載的分割槽,但不顯示檔案系統型別。
Disk /dev/sda: 299.4 GB, 299439751168 bytes255 heads, 63 sectors/track, 36404 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000576df
Device Boot Start End Blocks Id System/dev/sda1 * 1 2611 20971520 83 Linux/dev/sda2 2611 3134 4194304 82 Linux swap / Solaris/dev/sda3 3134 36404 267248282 83 Linux
df -T 只可以檢視已經掛載的分割槽和檔案系統型別。
Filesystem Type 1K-blocks Used Available Use% Mounted on/dev/sda1 ext4 20642428 3698868 15894984 19% /tmpfs tmpfs 32947160 0 32947160 0% /dev/shm
fdisk -l 可以顯示出所有掛載和未掛載的分割槽,但不顯示檔案系統型別。
Disk /dev/sda: 299.4 GB, 299439751168 bytes255 heads, 63 sectors/track, 36404 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000576df
Device Boot Start End Blocks Id System/dev/sda1 * 1 2611 20971520 83 Linux/dev/sda2 2611 3134 4194304 82 Linux swap / Solaris/dev/sda3 3134 36404 267248282 83 Linux