commit | 0cf9f47e28ad44a36efb548814406b610d83a9aa | [log] [tgz] |
---|---|---|
author | Philippe Reynes <philippe.reynes@softathome.com> | Wed Dec 23 15:33:07 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 04 09:10:17 2021 -0500 |
tree | d8dc9240725505a2b34134629d098f1f9f6da672 | |
parent | 6ad22a27811031566bfc4db2461447594b85fc1d [diff] |
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: Philippe Reynes <philippe.reynes@softathome.com>