Inform of mount success with btrfs subvol mount

This commit is contained in:
natemaia 2020-05-17 14:55:58 -07:00
parent fb3803f3fd
commit 118789e63c

View File

@ -2483,6 +2483,7 @@ btrfs_subvols()
select_mntopts "$part" 'btrfs' && [[ $MNT_OPTS ]] && MNT_OPTS+=','
mount -o ${MNT_OPTS}subvol="$mvol" "$part" "$mntp" 2> "$ERR"
errshow 0 "mount -o ${MNT_OPTS}subvol=$mvol $part $mntp" || return 1
msg "Mount Complete" "\nMounted $part subvol=$mvol at $mntp\n" 1
btrfs_extsubvols "$mntp" "$mvol" || return 1
msg "Btrfs Setup Complete" "\nCreated subvolumes:\n\n$(ls -R "$mntp/$mvol")"