mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
btrfs: use zstd:1 compression
This commit is contained in:
parent
a17c379698
commit
e01406f769
@ -2,7 +2,7 @@
|
|||||||
_pkgname=installer
|
_pkgname=installer
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.1.5
|
pkgver=0.1.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Bash script to install Arch Linux"
|
pkgdesc="Bash script to install Arch Linux"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -96,9 +96,13 @@ function get_default_mount_options() {
|
|||||||
|
|
||||||
case "${FS}" in
|
case "${FS}" in
|
||||||
BTRFS)
|
BTRFS)
|
||||||
# compress=lzo: archwiki -> Btrfs#Compression
|
# "compress=lzo": archwiki -> Btrfs#Compression
|
||||||
|
# "compress=zstd:1":
|
||||||
|
# -> https://btrfs.wiki.kernel.org/index.php/Compression#What_are_the_differences_between_compression_methods.3F
|
||||||
|
# -> https://fedoraproject.org/wiki/Changes/BtrfsTransparentCompression#Q:_Why_use_zstd:1_specifically.3F
|
||||||
|
#
|
||||||
# "Enable compression (better performance, longer flash lifespan)"
|
# "Enable compression (better performance, longer flash lifespan)"
|
||||||
FS_DEFAULT_MOUNT_OPTIONS+=('compress=lzo')
|
FS_DEFAULT_MOUNT_OPTIONS+=('compress=zstd:1')
|
||||||
;;
|
;;
|
||||||
EXT4)
|
EXT4)
|
||||||
# https://wiki.archlinux.org/index.php/Ext4#Enabling_metadata_checksums
|
# https://wiki.archlinux.org/index.php/Ext4#Enabling_metadata_checksums
|
||||||
|
Loading…
Reference in New Issue
Block a user