[PATCH 4/4] ubi-utils: introduce ubidump

Artem Bityutskiy dedekind1 at gmail.com
Fri Sep 26 03:31:50 PDT 2014


On Sat, 2014-09-20 at 13:08 +0800, hujianyang wrote:
> Signed-off-by: hujianyang <hujianyang at huawei.com>
> ---
>  ubi-utils/ubidump.c |  217 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 217 insertions(+), 0 deletions(-)
>  create mode 100644 ubi-utils/ubidump.c
> 
> diff --git a/ubi-utils/ubidump.c b/ubi-utils/ubidump.c
> new file mode 100644
> index 0000000..d96d7fb
> --- /dev/null
> +++ b/ubi-utils/ubidump.c
> @@ -0,0 +1,217 @@
> +/*
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> + * the GNU General Public License for more details.
> + */
> +
> +/*
> + * An utility to dump UBI/UBIFS format data in eraseblock
> + *
> + * Author: Hu Jianyang <hujianyang at huawei.com>
> + */

If what you did was you took and existing tool, and stripped it down,
and add few things, you should preserve the original copyright. And you
can also add your own copyright too, for the changes you made.


-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list