人类可读的分区大小

・1 分钟阅读

人类可读的分区大小

parted/dev/sda print
查看分区的大小,并获得关于hdd和分区的额外信息,
示例输出
Model: ATA ST3160811AS (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
 1 1049kB 2000MB 1999MB primary ext3 boot
 2 2001MB 160GB 158GB extended
 5 2001MB 22.0GB 20.0GB logical ext3
 6 22.0GB 26.0GB 3999MB logical ext3
 7 26.0GB 29.0GB 2999MB logical ext3
 8 29.0GB 33.0GB 3999MB logical ext3
 9 33.0GB 37.0GB 3999MB logical linux-swap(v1)
10 37.0GB 57.0GB 20.0GB logical ext3
Hujiuxiang profile image