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
Field | Type | Description |
---|---|---|
device | String | Storage device name |
start | Long | Start number of sector |
end | Long | End number of sector |
sector_count | Long | Total number of sector |
total_bytes | Long | Total partition size in bytes |
type | String | Partition type |