1
1
Fork
You've already forked zkpurge
0
utility to purge old ZFSBootMenu executables
  • C 88.5%
  • Makefile 11.5%
Find a file
2026年04月14日 08:21:57 -04:00
.gitignore initial commit 2026年01月11日 12:32:17 -05:00
defs.h remove hardcoded license 2026年04月14日 08:10:36 -04:00
LICENSE.md update license to BSD-3-Clause 2026年04月14日 08:21:57 -04:00
main.c remove hardcoded license 2026年04月14日 08:10:36 -04:00
Makefile improve Makefile, update README.md to match 2026年01月13日 18:46:17 -05:00
README.md update license to BSD-3-Clause 2026年04月14日 08:21:57 -04:00
util.c initial commit 2026年01月11日 12:32:17 -05:00
util.h fix missing include statement, update Makefile 2026年01月13日 17:10:38 -05:00
zbm.c initial commit 2026年01月11日 12:32:17 -05:00
zbm.h initial commit 2026年01月11日 12:32:17 -05:00

zkpurge

minimal C-lang utility to purge old ZFSBootMenu executables
inspired by Void's vkpurge(8)

Compiling

Clone the repo:

git clone https://github.com/plavpixel/zkpurge.git && cd zkpurge

Build:

make

Install:

sudo make install

Uninstall:

sudo make uninstall

Usage

# list available kernels
zkpurge -l
# remove a specific version
sudo zkpurge -r 3.1.0_1
# remove all except latest and pinned
sudo zkpurge -r all

Options

  • -l, --list: List available ZBM kernels.
  • -r, --remove: Remove kernels (requires target).
  • -v, --version: Show version and attribution.
  • -h, --help: Show usage help.

Environment Overrides

  • ZBM_PATH: Override auto-detected directory.
  • ZBM_PROTECT: Version string to keep during -r all.

License

BSD-3-Clause