aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-05-01 20:21:54 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-05-05 13:18:43 +0100
commita2b9ec0231707378e7e9ccaa140c5ebe664abd70 (patch)
treecb629e59b969e53dc19717bdbd94d903e26ca672 /tools
parent3980daffa4e284377cd1ae803fba78331c1fc40b (diff)
downloadupstream-a2b9ec0231707378e7e9ccaa140c5ebe664abd70.tar.gz
upstream-a2b9ec0231707378e7e9ccaa140c5ebe664abd70.tar.bz2
upstream-a2b9ec0231707378e7e9ccaa140c5ebe664abd70.zip
base-files: upgrade: take down loop and LVM before upgrade
Users of devices with large block storage may choose to have an LVM partition on the same device which is used for booting OpenWrt. The presents a problem during sysupgrade as the root device is then still busy and changing partitions will not work as desired, leading to data corruption in case the newly flashed image is larger than the currently installed one. Having loop devices setup causes similar havoc. Make sure all volume groups are offline and all loop devices have been released before sysupgrade. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions