| LINUX-CHECK-REMOVAL(1) | General Commands Manual | LINUX-CHECK-REMOVAL(1) |
linux-check-removal - check whether removal of a kernel is safe
linux-check-removal KERNEL-VER
linux-check-removal is intended to be called from the prerm maintainer scripts of Linux kernel packages.
The KERNEL-VER argument must be the kernel version string as shown by uname -r and used in filenames, not the package version.
If the currently running kernel matches KERNEL-VER, linux-check-removal normally prompts the user to confirm this potentially dangerous action and fails if the user chooses to abort. There are two exceptions to this behaviour:
linux-check-removal and this manual page were written by Ben Hutchings as part of the Debian linux-base package.
| 6 June 2016 |