summaryrefslogtreecommitdiff
path: root/mount-data/files
diff options
context:
space:
mode:
Diffstat (limited to 'mount-data/files')
-rwxr-xr-xmount-data/files/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/mount-data/files/init b/mount-data/files/init
index c9706f5..700ea40 100755
--- a/mount-data/files/init
+++ b/mount-data/files/init
@@ -37,6 +37,7 @@ status() {
start() {
is_open a || open a /dev/sda
is_open b || open b /dev/sdb
+ btrfs device scan /dev/mapper/data_a /dev/mapper/data_b
is_mounted "/data" || mount_btrfs @data /data
is_mounted "/srv" || mount_btrfs @srv /srv
}