Inform of mount success with btrfs subvol mount
This commit is contained in:
parent
fb3803f3fd
commit
118789e63c
@ -2483,6 +2483,7 @@ btrfs_subvols()
|
|||||||
select_mntopts "$part" 'btrfs' && [[ $MNT_OPTS ]] && MNT_OPTS+=','
|
select_mntopts "$part" 'btrfs' && [[ $MNT_OPTS ]] && MNT_OPTS+=','
|
||||||
mount -o ${MNT_OPTS}subvol="$mvol" "$part" "$mntp" 2> "$ERR"
|
mount -o ${MNT_OPTS}subvol="$mvol" "$part" "$mntp" 2> "$ERR"
|
||||||
errshow 0 "mount -o ${MNT_OPTS}subvol=$mvol $part $mntp" || return 1
|
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
|
btrfs_extsubvols "$mntp" "$mvol" || return 1
|
||||||
msg "Btrfs Setup Complete" "\nCreated subvolumes:\n\n$(ls -R "$mntp/$mvol")"
|
msg "Btrfs Setup Complete" "\nCreated subvolumes:\n\n$(ls -R "$mntp/$mvol")"
|
||||||
|
Reference in New Issue
Block a user