mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
remove no-holes, it's default since 5.15
This commit is contained in:
parent
de7a738230
commit
19510ed952
1 changed files with 0 additions and 2 deletions
|
@ -282,8 +282,6 @@ _mkfs() {
|
|||
[[ "${_BTRFS_SUBVOLUME}" == "NONE" ]] && _BTRFS_SUBVOLUME=""
|
||||
# add btrfs raid level, if needed
|
||||
[[ ! "${_BTRFSLEVEL}" == "NONE" && "${_FSTYPE}" == "btrfs" ]] && _FSOPTIONS="${_FSOPTIONS} -m ${_BTRFSLEVEL} -d ${_BTRFSLEVEL}"
|
||||
# add btrfs options, minimum requirement linux 3.14 -O no-holes
|
||||
[[ "${_FSTYPE}" == "btrfs" ]] && _FSOPTIONS="${_FSOPTIONS} -O no-holes"
|
||||
# we have two main cases: "swap" and everything else.
|
||||
if [[ "${_FSTYPE}" == "swap" ]]; then
|
||||
swapoff "${_DEVICE}" >/dev/null 2>&1
|
||||
|
|
Loading…
Reference in a new issue