]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
change message open volume
authorBastian Dehn <hhaalo@arcor.de>
Sun, 25 May 2025 08:39:21 +0000 (10:39 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 25 May 2025 08:39:21 +0000 (10:39 +0200)
backupmount

index de98418024bbf578953c47a7b800282a2e249dea..7371da40023723fc28412bc9fdcc317906bcaf53 100755 (executable)
@@ -54,9 +54,7 @@ device_mount()
        [ -b "$device" ] \
                || infolog "block device $device for $media not found" \
                || return $?
-
        infolog "media $media with device $device found"
-
        local key=$(cat "config.yaml" \
                | yq --raw-output ".media.\"$media\".key")
        [ "$key" != "null" ] \
@@ -68,8 +66,8 @@ device_mount()
        [ "$volume" != "null" ] \
                || errlog "config.yaml volume for $media missing" \
                || return $?
-       infolog "volume mount $volume"
 
+       infolog "volume open $volume"
        cryptsetup open --key-file "$key" \
                "$device" \
                "$volume" \