[Ocfs2-tools-devel] [PATCH 0/5] O2info: Adding all the rest of running codes to o2info.

Joel Becker jlbec at evilplan.org
Fri Jun 3 16:33:34 PDT 2011


On Fri, Jun 03, 2011 at 04:23:31PM -0700, Sunil Mushran wrote:
> e.g.,
> This is lot more efficient...
> numslots=$(o2info volinfo -N [-d DEVICE] FILE)
> than...
> numslots=$(o2info --volinfo DEVICE | awk '/Node Slots:/ { print $3; }')

	Are you proposing that each command have an arbitrary number of
switches (-N, -L, etc)?

Joel

-- 

You can use a screwdriver to screw in screws or to clean your ears,
however, the latter needs real skill, determination and a lack of fear
of injuring yourself.  It is much the same with JavaScript.
	- Chris Heilmann

			http://www.jlbec.org/
			jlbec at evilplan.org



More information about the Ocfs2-tools-devel mailing list