[Ocfs2-tools-devel] [PATCH 5/6] O2info: Add running codes for '--volinfo'.

tristan tristan.ye at oracle.com
Sun Apr 25 19:56:47 PDT 2010


Joel Becker wrote:
> 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

It's quite attracting to me:)


>
> Joel
>




More information about the Ocfs2-tools-devel mailing list