arch/pkg/de-p1st-mkinitcpio/README.md

51 lines
957 B
Markdown
Raw Permalink Normal View History

2021-05-03 13:26:54 +02:00
# mkinitcpio.conf
After changing the global configuration,
one should execute:
```shell
mkinitcpio -P
```
## compression
Can be enabled with:
```shell
COMPRESSION='lz4'
```
## hooks
Hooks to for
1) resuming
2) BTRFS
3) encryption
4) keymap
```shell
2021-05-03 22:17:59 +02:00
HOOKS=(base udev modconf block keyboard keymap encrypt lvm2 btrfs filesystems fsck resume)
2021-05-03 13:26:54 +02:00
```
## crc32c_intel
* Archwiki (Ext4#Enabling_metadata_checksums)[https://wiki.archlinux.org/title/Ext4#Enabling_metadata_checksums]
> If the CPU supports SSE 4.2, make sure the crc32c_intel
> kernel module is loaded in order to enable the hardware
> accelerated CRC32C algorithm
* https://en.wikipedia.org/wiki/SSE4#SSE4.2
* https://bugzilla.redhat.com/show_bug.cgi?id=1874808
On a SSE4.2 capable system, `crc32c-intel` should be used, not `crc32c-generic`.
Check your CPU (see the `.install` script):
```shell
lscpu | grep sse4_2
```
Can be enabled with:
```shell
MODULES=('crc32c-intel')
```