lideming / kernel-modules-hook-reflink

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kernel-modules-hook-reflink

-reflink is forked from the original hook. It uses cp --reflink to copy modules, saving time and space for Btrfs.


Tired of missing modules when updating the kernel?
Annoyed by modprobe: FATAL: Module smth not found in directory /lib/modules/new-kernel?
Losing uptime after reboots due to kernel update?

The solution is here.

  • Save.
    Save
  • Update.
    Update
  • Restore.
    Restore
  • Enjoy.
    Enjoy

Do not worry, backups are automatically cleaned.

Installation

AUR link

$ ${your_aur_helper} -S kernel-modules-hook-reflink

# Or from git:

$ git clone https://github.com/lideming/kernel-modules-hook.git kmh
$ cd kmh
$ makepkg -sci
$ sudo systemctl daemon-reload
$ sudo systemctl enable linux-modules-cleanup

About

License:The Unlicense


Languages

Language:Shell 100.0%