Bug#1105024: cache os-prober?

Harald Dunkel harri at afaics.de
Sat May 10 06:14:28 BST 2025


Package: grub-common
Version: 2.12-7

Running os-prober on my PC takes about 30 seconds:

# time os-prober
/dev/mapper/vg00-arch:Arch Linux:Arch:linux
/dev/mapper/vg00-backup:Debian GNU/Linux bookworm/sid:Debian:linux

real	0m26.858s
user	0m0.239s
sys	0m0.343s

If I have to remove a few development kernels via apt, update-grub
and os-prober are run again and again, until the last kernel is gone.
This can take quite some time. Do you think it would be possible to
cache the output of os-prober to reduce run time?



More information about the Pkg-grub-devel mailing list