답변:
당신은 또한 그것을 확인할 수 있습니다 df -T
샘플 출력 :
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/hdb1 ext3 19228276 14737848 3513680 81% /
tmpfs tmpfs 383960 4 383956 1% /dev/shm
시도해 볼 수도 있습니다 df -hT
보낸 사람 man df
:
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)
-T, --print-type
print file system type
당신은 또한 할 수 있습니다 sudo fdisk -l
nits@nits-excalibur:~$ sudo fdisk -l
[sudo] password for nits:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x27edc0d3
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 188743679 94268416 7 HPFS/NTFS/exFAT
/dev/sda3 224569342 976771071 376100865 5 Extended
/dev/sda4 188743680 224567295 17911808 83 Linux
/dev/sda5 224569344 434284543 104857600 7 HPFS/NTFS/exFAT
/dev/sda6 434286592 644001791 104857600 7 HPFS/NTFS/exFAT
/dev/sda7 644003840 684001279 19998720 83 Linux
/dev/sda8 684003328 704002047 9999360 83 Linux
/dev/sda9 804003840 972767231 84381696 83 Linux
/dev/sda10 704004096 744001535 19998720 83 Linux
/dev/sda11 744003584 803987455 29991936 83 Linux
/dev/sda12 972769280 976771071 2000896 82 Linux swap / Solaris
Partition table entries are not in disk order
sudo blkid
UUID 및 레이블 (있는 경우)과 함께 파티션 형식에 대한 정보를 제공합니다.
nits@nits-excalibur:~$ sudo blkid
[sudo] password for nits:
/dev/sda1: LABEL="System Reserved" UUID="22F2DE0DF2DDE4D7" TYPE="ntfs"
/dev/sda2: UUID="6E5E0E255E0DE6A5" TYPE="ntfs"
/dev/sda4: LABEL="TestDrive" UUID="e6e47b0b-4c88-43f9-9165-81b2c1af4d1c" TYPE="ext4"
/dev/sda5: LABEL="Storage_1" UUID="42DC637EDC636B5D" TYPE="ntfs"
/dev/sda6: LABEL="Storage_2" UUID="D890877C9087603C" TYPE="ntfs"
/dev/sda7: UUID="b73e274d-fdb2-45ac-acfe-9fcb48631ff7" TYPE="ext4"
/dev/sda8: UUID="831304eb-1ee5-486c-a4a4-ef40b6c2d4dc" TYPE="ext4"
/dev/sda9: UUID="9ba518d1-4a03-4b92-9b31-15db045c8cd4" TYPE="ext4"
/dev/sda10: UUID="dcc15cd3-041d-4ad2-915e-9c0dae9310c7" TYPE="ext4"
/dev/sda11: UUID="3ad60b50-a4f3-4dff-b62e-610766e1b119" TYPE="ext4"
/dev/sda12: UUID="5604929a-9d9e-4ab0-907f-b9479a3b55e5" TYPE="swap"
서로 연결된 두 명령은 시스템의 파티션에 대한 정보를 얻기에 충분해야합니다.
blkid
답변 에 정보를 추가했습니다 .
커널이 지원하는 파일 시스템 유형을 알고 싶다면
cat /proc/filesystems