[Ocfs2-tools-devel] [PATCH 0/5] O2info: Adding all the rest of running codes to o2info.
Sunil Mushran
sunil.mushran at oracle.com
Fri Jun 3 16:23:31 PDT 2011
On 06/03/2011 04:04 PM, Joel Becker wrote:
> Currently you can specify multiple queries in one shot. I think
> that was one of your original design goals, right? Your new modes lose
> that ability. I'm not sure that's a bad thing. I think folks can
> handle typing "o2info volinfo /dev/sdb1; o2info fileinfo /dev/sdb1"
> instead of "o2info --volinfo --fileinfo /dev/sdb1".
I don't remember it being a goal. If so, I have reconsidered.
The main goal I had was to allow unpriv users access to this info.
That has succeeded.
I would say my current goals are to simplify the command structure.
Also, make it script efficient.
e.g.,
This is lot more efficient...
numslots=$(o2info volinfo -N [-d DEVICE] FILE)
than...
numslots=$(o2info --volinfo DEVICE | awk '/Node Slots:/ { print $3; }')
Sunil
More information about the Ocfs2-tools-devel
mailing list