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
|
nvme
|
||||||
dm-verity
|
dm-verity
|
||||||
erofs
|
erofs
|
||||||
ext4
|
xfs
|
||||||
# All modules but the hardware drivers, then the drivers a VM needs (disks,
|
# 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
|
# 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
|
# 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).
|
# /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.
|
# 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
|
Type=root
|
||||||
Label=%M_%A
|
Label=%M_%A
|
||||||
Format=erofs
|
Format=erofs
|
||||||
Compression=zstd
|
Compression=lz4hc
|
||||||
CopyFiles=/
|
CopyFiles=/
|
||||||
ExcludeFilesTarget=/var/
|
ExcludeFilesTarget=/var/
|
||||||
Verity=data
|
Verity=data
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
[Partition]
|
[Partition]
|
||||||
Type=var
|
Type=var
|
||||||
Label=var
|
Label=var
|
||||||
Format=ext4
|
Format=xfs
|
||||||
CopyFiles=/var:/
|
CopyFiles=/var:/
|
||||||
Minimize=guess
|
Minimize=guess
|
||||||
SplitName=-
|
SplitName=-
|
||||||
Reference in new issue
Block a user