[Ocfs2-tools-devel] [PATCH 0/22] tunefs rework
Mark Fasheh
mfasheh at suse.com
Wed Aug 6 17:29:16 PDT 2008
On Fri, Jul 25, 2008 at 07:07:38PM -0700, Joel Becker wrote:
> [Open Question]
>
> Some tunefs.ocfs2 options were actually feature flags. For example,
> '-M cluster' is really '--fs-features=nolocal'. ocfs2ne supports both
> methods for all of these options. It is fully compatible with
> tunefs.ocfs2, and adds the ability to specify these feature flags in
> --fs-features. The actual work is done as a feature method.
>
> The question is, what do we print in the output of '--help'? Do we tell
> people to prefer the old way, mention the old way but mark it as
> deprecated, or leave out the old way and only describe the
> '--fs-features' way? I chose the last one, but it's trivial to change.
How does other software handle this? I could go either way. Perhaps the
easiest is to just leave out the deprecated options?
> 3) "It's quiet." "Yeah, too quiet."
>
> The old tunefs.ocfs2 was very chatty. This doesn't fit with a normal
> command-line program that only tells you when something goes wrong.
> The new code has proper verbosity levels - just keep adding '-v' for
> more noise. Say '-i' like cp(1), mv(1), and rm(1) if you want
> ocfs2ne to ask you questions.
This is a great improvement btw :)
--Mark
--
Mark Fasheh
More information about the Ocfs2-tools-devel
mailing list