From b949c727fab509e1650563b2fcce9c0a6c5548ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 19 Jan 2021 13:19:38 +0100 Subject: mount-data: scan btrfs filesystems after open --- mount-data/Makefile | 2 +- mount-data/files/init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mount-data/Makefile b/mount-data/Makefile index 69f082b..6fc688c 100644 --- a/mount-data/Makefile +++ b/mount-data/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mount-data -PKG_VERSION:=1.0.1 +PKG_VERSION:=1.0.2 PKG_MAINTAINER:=Karel Kočí PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) 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 } -- cgit v1.2.3