mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove defaults of btrfs as extref and skinny-metadata
This commit is contained in:
parent
5c3d48033b
commit
e1ee20b8d5
1 changed files with 2 additions and 2 deletions
|
@ -2441,8 +2441,8 @@ _mkfs() {
|
|||
[[ "${_btrfssubvolume}" = "NONE" ]] && _btrfssubvolume=""
|
||||
# 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 extref,skinny-metadata,no-holes
|
||||
[[ "${_fstype}" = "btrfs" ]] && _fsoptions="${_fsoptions} -O extref,skinny-metadata,no-holes"
|
||||
# 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