parted -m option, don't show type field
lisaac opened this issue · 0 comments
lisaac commented
Hi,
Im using parted to show the disk partitions, It works well:
parted /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 8590MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
32.3kB 1049kB 1016kB Free Space
1 1049kB 7516MB 7515MB primary ext4 boot
7516MB 7517MB 1048kB Free Space
2 7517MB 8589MB 1072MB extended
5 7517MB 8589MB 1072MB logical linux-swap(v1)
8589MB 8590MB 1049kB Free Space
but I'm using "-m" option, the type field is blank:
parted -m /dev/sda print free
BYT;
/dev/sda:8590MB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:32.3kB:1049kB:1016kB:free;
1:1049kB:7516MB:7515MB:ext4::boot;
1:7516MB:7517MB:1048kB:free;
2:7517MB:8589MB:1072MB:::;
5:7517MB:8589MB:1072MB:linux-swap(v1)::;
1:8589MB:8590MB:1049kB:free;