uvol: call umount instead of using 'block umount'
authorDaniel Golle <daniel@makrotopia.org>
Sun, 13 Feb 2022 21:30:13 +0000 (21:30 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 13 Feb 2022 22:30:42 +0000 (22:30 +0000)
commite17a931c49558b1d7337e5749aed12cddffe6ef0
tree89630e55c4d4e2e6d4eccfa8f30df3c406d83fb9
parentd27ecdcc49f2d91a8758ff4c416385d6d57cf2e6
uvol: call umount instead of using 'block umount'

Calling 'block umount' results in *all* devices listed in
/etc/config/fstab being unmounted.
Just call 'umount /dev/$devname' directly instead as that has the
desired effect.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/uvol/files/lvm.sh
utils/uvol/files/ubi.sh