mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add balancing on btrfs mounts
This commit is contained in:
parent
db02c94c48
commit
5c3d48033b
1 changed files with 2 additions and 0 deletions
|
@ -2514,6 +2514,8 @@ _mkfs() {
|
|||
DIALOG --msgbox "Error mounting ${_dest}${_mountpoint}" 0 0
|
||||
return 1
|
||||
fi
|
||||
# btrfs needs balancing, else weird things could happen
|
||||
[[ "${_fstype}" = "btrfs" ]] && btrfs balance start ${_dest}${_mountpoint} >${LOG} 2>&1
|
||||
# change permission of base directories to correct permission
|
||||
# to avoid btrfs issues
|
||||
if [[ "${_mountpoint}" = "/tmp" ]]; then
|
||||
|
|
Loading…
Reference in a new issue