From: Christoph Hellwig <hch@infradead.org>
To: Jan Tulak <jtulak@redhat.com>
Cc: linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org,
linux-ext4@vger.kernel.org, linux-xfs <linux-xfs@vger.kernel.org>
Subject: Re: [proposal] making filesystem tools more machine friendly
Date: Wed, 5 Jul 2017 11:11:13 -0700 [thread overview]
Message-ID: <20170705181113.GA20326@infradead.org> (raw)
In-Reply-To: <CACj3i70p=ybXZWRncseqwnbs7HAYu-SL02+cj--7T5YnqcwVKQ@mail.gmail.com>
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.
next prev parent reply other threads:[~2017-07-05 18:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-30 8:17 [proposal] making filesystem tools more machine friendly Jan Tulak
2017-06-30 10:22 ` Arvin Schnell
2017-06-30 13:58 ` Emmanuel Florac
2017-06-30 15:29 ` Theodore Ts'o
2017-07-03 11:52 ` Jan Tulak
2017-07-03 15:07 ` Theodore Ts'o
2017-07-03 17:37 ` Darrick J. Wong
2017-07-04 13:57 ` Jan Tulak
2017-07-04 19:07 ` Theodore Ts'o
2017-07-12 8:42 ` Jan Tulak
2017-07-05 18:11 ` Christoph Hellwig [this message]
2017-07-12 13:00 ` Jan Tulak
2017-07-12 17:10 ` Richard W.M. Jones
2017-11-27 14:57 ` Andrew Price
2017-11-27 15:38 ` Jan Tulak
2017-11-27 16:24 ` Andrew Price
2017-11-27 16:42 ` Jan Tulak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170705181113.GA20326@infradead.org \
--to=hch@infradead.org \
--cc=jtulak@redhat.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).