mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
scripts/beesd: no need for $BEESHOME
to be a subvol
We _recommend_ that `$BEESHOME` should be a subvol, and we'll create a subvol if no directory exists; however, there's no reason to reject an existing plain directory if the user chooses to use one. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
360ce7e125
commit
0abf6ebb3d
@ -121,8 +121,6 @@ mount --make-private -osubvolid=5 /dev/disk/by-uuid/$UUID "$MNT_DIR" || exit 1
|
||||
if [ ! -d "$BEESHOME" ]; then
|
||||
INFO "Create subvol $BEESHOME for store bees data"
|
||||
btrfs sub cre "$BEESHOME"
|
||||
else
|
||||
btrfs sub show "$BEESHOME" &> /dev/null || ERRO "$BEESHOME MUST BE A SUBVOL!"
|
||||
fi
|
||||
|
||||
# Check DB size
|
||||
|
Loading…
x
Reference in New Issue
Block a user