You are not logged in.

#1 2021-05-12 05:36:43

indignation
Member
Registered: 2020-11-30
Posts: 9

Should I compress my initramfs if I'm already doing fs-level compres.?

The arch utility mkinitcpio by default compresses with zstd. I already compress my root (mounted at /) and boot (mounted at /boot) filesystem using zstd btrfs compression (only my first partition is vfat32 and mounted at /efi, due to its natural constraints - yes, I'm doing full disk encryption big_smile ). That's why I set

COMPRESSION="cat"

in my /etc/mkinitcpio.conf, since the initramfs resides on /boot. Does this make sense or am I misunderstanding something?

Offline

#2 2021-05-15 07:59:40

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: Should I compress my initramfs if I'm already doing fs-level compres.?

Data compression with btrfs is not done willy nilly, it first checks if it benefits from it, if it does not compress (that is, end smaller) or is already compressed, it leaves it as is.
So, in the end, both ways change nothing really.


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-06-06 17:50:04

indignation
Member
Registered: 2020-11-30
Posts: 9

Re: Should I compress my initramfs if I'm already doing fs-level compres.?

@GaKu999 I have forced the compression on btrfs, so I presume that's all I need! smile

Offline

Board footer

Powered by FluxBB