sfdisk
--sfdiskv1.0.0Converts `sfdisk` command output to JSON
Linuxcommand
$ sfdisk | jc-rs --sfdiskA real pair
From the reference corpus (debian10/sfdisk-F.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.
sfdiskdebian10
Unpartitioned space /dev/sda: 0 B, 0 bytes, 0 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "disk": "/dev/sda", "free_disk_size": "0 B", "free_bytes": 0, "free_sectors": 0, "units": "sectors of 1 * 512 = 512 bytes", "logical_sector_size": 512, "physical_sector_size": 512 } ]
Fixture coverage
14/14oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs sfdiskjc-rs runs the command itself and parses what it prints. Recognised for: `sfdisk`Source: crates/jc-rs-parsers/src/disk/sfdisk.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare