linux-partitions

Parses the fdisk -l command execution result to list all disk partitions in Linux.

Syntax

linux-partitions

Description

After running the linux-partitions command, the output fields are as follows:

Output Fields

FieldTypeDescription
deviceStringStorage device name
startLongStart number of sector
endLongEnd number of sector
sector_countLongTotal number of sector
total_bytesLongTotal partition size in bytes
typeStringPartition type