Re: [PATCH] cmd: ubi: don't allow to rename a volume to a name that already exist

2021-01-05 Thread Tom Rini
On Wed, Dec 23, 2020 at 03:33:07PM +0100, Philippe Reynes wrote: > This commits add a check on the command ubi rename. This check avoids > to rename a volume to with a name that is already used on another ubi > volume. If two volumes has the same name, then the ubi device can't be > mounted anymor

[PATCH] cmd: ubi: don't allow to rename a volume to a name that already exist

2020-12-23 Thread Philippe Reynes
This commits add a check on the command ubi rename. This check avoids to rename a volume to with a name that is already used on another ubi volume. If two volumes has the same name, then the ubi device can't be mounted anymore. Signed-off-by: Philippe Reynes --- cmd/ubi.c | 5 + 1 file chang