uvol: emmit ubus events and bring up volumes on boot
authorDaniel Golle <redacted>
Sat, 17 Apr 2021 18:16:18 +0000 (19:16 +0100)
committerDaniel Golle <redacted>
Sat, 17 Apr 2021 23:41:35 +0000 (00:41 +0100)
commitfc01307d7a6963b536e322529757f8a0925bcc45
treedd0c3e8cb624033078b66e2d6eebf2aa2403cde4
parente6f5e2cc6237d1b5552e4906e918a9d9fc098f38
uvol: emmit ubus events and bring up volumes on boot

Emmit ubus events when volumes come up/down.
Make sure volume state is always well defined by introducing
additional state 'write-prepare' (wp) during mkfs.
Add init scripts to bring up volumes at boot.

Signed-off-by: Daniel Golle <redacted>
utils/uvol/Makefile
utils/uvol/files/lvm.sh
utils/uvol/files/ubi.sh
utils/uvol/files/uvol
utils/uvol/files/uvol.init [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT