From: Karel Zak <kzak@redhat.com>
To: "Ted Ts'o" <tytso@mit.edu>
Cc: Michael Conrad <mconrad@intellitree.com>, util-linux@vger.kernel.org
Subject: Re: blkid -o value
Date: Wed, 28 Mar 2012 11:00:38 +0200 [thread overview]
Message-ID: <20120328090038.GB2045@x2.net.home> (raw)
In-Reply-To: <20120327184345.GA11236@thunk.org>
On Tue, Mar 27, 2012 at 11:43:45AM -0700, Ted Ts'o wrote:
> On Tue, Mar 27, 2012 at 01:52:51PM -0400, Michael Conrad wrote:
> >
> > I see how that could be useful if and only if you use exactly one
> > "-s", but if you requested more than one "-s" they still come out in
> > non-stable order. It's like running a SQL query and having all the
> > columns shifted because the first one was a NULL.
>
> Actually, it's more like running an SQL query without a SORTED BY and
> assuming the order of the rows was stable.
>
> > At the very least, I would appreciate it if the man page mentioned
> > that "-o value" should only ever be used with exactly one "-s".
>
> What I would suggest is that blkid explicitly state that the order of
> fields or file systems (if more than one file system is selected) is
> not defined, since that's something which is true in general, and not
> just for "-o value".
>
> It might also be useful to have an EXAMPLES section which gives some
> sample ways that blkid can be used.
Good idea. I'll update the man page.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2012-03-28 9:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 17:26 blkid -o value Michael Conrad
2012-03-27 17:31 ` Ted Ts'o
2012-03-27 17:52 ` Michael Conrad
2012-03-27 18:43 ` Ted Ts'o
2012-03-28 9:00 ` Karel Zak [this message]
2012-03-28 21:03 ` Michael Conrad
2012-03-28 7:34 ` Karel Zak
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=20120328090038.GB2045@x2.net.home \
--to=kzak@redhat.com \
--cc=mconrad@intellitree.com \
--cc=tytso@mit.edu \
--cc=util-linux@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