Looking for an alternative to ubimirror

Richard Weinberger richard.weinberger at gmail.com
Fri May 27 00:19:37 PDT 2016


On Fri, May 27, 2016 at 2:40 AM, PJ <paul.j2 at rogers.com> wrote:
> Hi,
>
> Can anyone please recommend a procedure to copy one UBI volume to another?
>
> I'd like to execute from the bash command line, if possible.
>
> One upon a time I was able to use ubimirror, however that command appears to
> have been removed from mtd-utils.
>
> - The source volume will be mounted R/O as it is the rootfs.
> - The destination volume will be unrestricted (unmounted).
> - Both the source and destination volumes are in the same device.

Did you try dd if=/dev/ubiX_Y ... | ubiupdatevol ...?

-- 
Thanks,
//richard



More information about the linux-mtd mailing list