uvol: clean up paths and fix delayed startup
authorDaniel Golle <daniel@makrotopia.org>
Fri, 18 Feb 2022 03:05:25 +0000 (03:05 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 18 Feb 2022 03:09:06 +0000 (03:09 +0000)
commit6772c0fe443fb78713074f333460cf40ce6d58ff
treec444562abde7ce8b2d02aba18558cb5e9073a9cb
parentce5755cc0b4bd8943d92c3c45a962fe4c52d0ce6
uvol: clean up paths and fix delayed startup

 * Winchester discs can take a long time to spin up which results in
   blockd also taking a while to complete to start.

 * Make sure uvol only gets started once blockd is ready.

 * Clean up paths (use '/tmp/run/uvol' everywhere instead of relying on
   the '/var' -> '/tmp' symlink)

 * Create 'apk' folder when initializing .meta volume.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/uvol/files/common.sh
utils/uvol/files/uvol.defaults
utils/uvol/files/uvol.init