proc-partitions
--proc-partitionsv1.0.0Converts `/proc/partitions` file to JSON
Linuxfileslurpable
$ jc-rs /proc/partitionsA real pair
From the reference corpus (linux-proc/partitions.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.
/proc/partitionslinux-proc
major minor #blocks name 7 0 56896 loop0 7 1 56868 loop1 7 2 111248 loop2 7 3 63448 loop3 7 5 48088 loop5 7 6 48080 loop6 7 7 105464 loop7 8 0 20971520 sda 8 1 1024 sda1 8 2 1048576 sda2 8 3 19919872 sda3 11 0 1021566 sr0 253 0 19918848 dm-0 7 8 63444 loop8
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "major": 7, "minor": 0, "num_blocks": 56896, "name": "loop0" }, { "major": 7, "minor": 1, "num_blocks": 56868, "name": "loop1" }, { "major": 7, "minor": 2, "num_blocks": 111248, "name": "loop2" }, { "major": 7, "minor": 3, "num_blocks": 63448, "name": "loop3" }, { "major": 7, "minor": 5, "num_blocks": 48088, "name": "loop5" }, { "major": 7, "minor": 6, "num_blocks": 48080, "name": "loop6" }, { "major": 7, "minor": 7, "num_blocks": 105464, "name": "loop7" }, { "major": 8, "minor": 0, "num_blocks": 20971520, "name": "sda" }, { "major": 8, "minor": 1, "num_blocks": 1024, "name": "sda1" }, { "major": 8, "minor": 2, "num_blocks": 1048576, "name": "sda2" }, { "major": 8, "minor": 3, "num_blocks": 19919872, "name": "sda3" }, { "major": 11, "minor": 0, "num_blocks": 1021566, "name": "sr0" }, { "major": 253, "minor": 0, "num_blocks": 19918848, "name": "dm-0" }, { "major": 7, "minor": 8, "num_blocks": 63444, "name": "loop8" } ]
Fixture coverage
1/1oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs /proc/partitionsjc-rs reads this kernel-interface file directly and dispatches it through the matching /proc parser.Source: crates/jc-rs-parsers/src/proc/proc_partitions.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