From 0abf6ebb3d80d062ded6d3d4321ce855085b35d9 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Mon, 20 Jan 2025 00:24:25 -0500 Subject: [PATCH] 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 --- scripts/beesd.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/beesd.in b/scripts/beesd.in index 3d21677..8afeed4 100755 --- a/scripts/beesd.in +++ b/scripts/beesd.in @@ -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