[PATCH v2 7/7] nanddump: document, warn about future default --omitoob

Mike Frysinger vapier.adi at gmail.com
Tue Jun 21 15:39:18 EDT 2011


On Tue, Jun 21, 2011 at 11:46, Brian Norris wrote:
> +                                                       fprintf(stderr, "Error: --oob and --oomitoob are mutually exclusive\n");
> +                                       fprintf(stderr, "Error: --oob and --oomitoob are mutually exclusive\n");

i would just errmsg_die() in these places

> +               fprintf(stderr, "Warning: in next release, nanddump will not dump OOB\n"
> +                               "  by default. Use `nanddump --oob' explicitly to ensure\n"
> +                               "  it is dumped.\n");

warning()
-mike


More information about the linux-mtd mailing list