Feature #18
Machine-friendly output
| Status: | New | Start: | 01/23/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 1.5 | |||
Description
Add an option to produce truly machine-friendly output
- for listing RAID setup details (e.g. for automated filesystem creation.)
- optimally, the same format could be used as input as well (say automated RAID creation, verification, settings changes etc. in large-scale environments)
I imagine a CSV-like format, or at worst XML.
History
Updated by Mikhail Yakshin 1107 days ago
- Target version set to 1.5
Let's discuss what's bad with current machine-readable output formats? We're using tab-separated, which is almost the same as CSV for parsing purposes. If your task is automatic filesystem creation - let's see what tools do you plan to use for it? sfdisk, parted, mkfs.*, something else? In fact, we can implement "sidekick" utilities such as ones we already have (raid-wizard-optimal, raid-wizard-passthrough) to make automatic filesystem creation after automatic RAID creation, for example. Would that fit?