gpart is junk

Marc Balmer marc at msys.ch
Sat Sep 29 09:28:08 UTC 2012


Am 28.09.12 11:31, schrieb Steffen Daode Nurpmeso:
> Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:
> 
>  |>> but still not anywhere as readable as bsdlabel.
>  |>>
>  |>
>  |> I did specifically say 'machine readable'. The XML is well-formed,
>  |XML is stupid. everything you can do with XML can be better described 
>  |using "ancient" style text format
> 
> Or, if all fails, YAML-is-JSON, which is much easier and cheaper
> to parse (than ML), but still a well-defined standard and, in
> comparison, human readable.

These days I use Lua with its nice table-definition syntax for config
files in many programs.  Of course sandboxed, and with most functions
turned off in the sandbox.  The files are very readable, but of course
you pay the price on including the Lua interpreter (although it's small).




More information about the freebsd-hackers mailing list