pub(crate) fn blkid_probe(dev: &str) -> Result<HashMap<String, String>>Expand description
Probe a device with blkid -p and return all discovered properties
as key-value pairs.
This uses the export output format (KEY=value, one per line) to
retrieve all tags in a single invocation, rather than spawning blkid
once per property.
Returns Ok(empty map) if blkid exits with code 2 (no tags found,
e.g. the device is a whole disk). Other non-zero exits are propagated
as errors.