[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170705181113.GA20326@infradead.org>
Date: Wed, 5 Jul 2017 11:11:13 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Jan Tulak <jtulak@...hat.com>
Cc: linux-fsdevel@...r.kernel.org, linux-btrfs@...r.kernel.org,
linux-ext4@...r.kernel.org, linux-xfs <linux-xfs@...r.kernel.org>
Subject: Re: [proposal] making filesystem tools more machine friendly
Hi Jan,
I really like the idea out json output for fs/block tools.
nvme-cli has been doing it for a while, and that has been very
useful. It comes with it's own little handrolled json output
helpers:
https://github.com/linux-nvme/nvme-cli/blob/master/json.c
so it doesn't introduce any new dependencies. If you want to parse
input as well a library might be a better approach, though.
I really don't like the shared object evms model mention in the thread,
as that creates hard ELF dependencies.
Powered by blists - more mailing lists