[Ocfs2-tools-devel] [PATCH 5/6] O2info: Add running codes for '--volinfo'.
Joel Becker
Joel.Becker at oracle.com
Sat Apr 24 10:27:42 PDT 2010
On Fri, Apr 23, 2010 at 03:43:52PM -0700, Sunil Mushran wrote:
> So this is good. However, in the previous patch (--fs-features),
> I would like the features to be printed in one line. No "Features :"
> qualifier, etc. Just plain string in one line.
>
> In --volinfo, we would want it looking pretty.
>
> The reason is that --fs-features can be used easily in scripts to determine
> whether a feature is available or not.
Actually, the better reason is that we should be able to pass it
to mkfs/tunefs.
mkfs -t ocfs2 --fs-features="$(o2info --fs-features /dev/xxx)" \
/dev/xxx
Joel
--
"Behind every successful man there's a lot of unsuccessful years."
- Bob Brown
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-tools-devel
mailing list