perf: xfs for /var, lz4hc for the root erofs
xfs replaces ext4 on /var (no fsck pass, so fstab passno 0), and the root erofs uses lz4hc, which decompresses faster than zstd. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -95,7 +95,7 @@ KernelInitrdModules=
|
||||
nvme
|
||||
dm-verity
|
||||
erofs
|
||||
ext4
|
||||
xfs
|
||||
# All modules but the hardware drivers, then the drivers a VM needs (disks,
|
||||
# network, screen) and those of rootless podman's networks (pasta). The last
|
||||
# matching line wins. Keyboard, USB and a basic screen are built into the
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
#
|
||||
# /var is the only partition on disk that is written (mkosi.repart/30-var.conf).
|
||||
# x-systemd.growfs grows its filesystem to fill the partition at boot.
|
||||
PARTLABEL=var /var ext4 x-systemd.growfs 0 2
|
||||
PARTLABEL=var /var xfs x-systemd.growfs 0 0
|
||||
@@ -7,7 +7,7 @@
|
||||
Type=root
|
||||
Label=%M_%A
|
||||
Format=erofs
|
||||
Compression=zstd
|
||||
Compression=lz4hc
|
||||
CopyFiles=/
|
||||
ExcludeFilesTarget=/var/
|
||||
Verity=data
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
[Partition]
|
||||
Type=var
|
||||
Label=var
|
||||
Format=ext4
|
||||
Format=xfs
|
||||
CopyFiles=/var:/
|
||||
Minimize=guess
|
||||
SplitName=-
|
||||
Reference in new issue
Block a user