Google
  Web www.spinics.net

Re: blkid -o value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Site Home]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Powered by Linux