Skip to content
Commit 1639988f authored by Philippe Reynes's avatar Philippe Reynes Committed by Tom Rini
Browse files

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



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: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
parent 19408a39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment