diff --git a/kpatch/kpatch b/kpatch/kpatch index 214fc5f..2dff45e 100755 --- a/kpatch/kpatch +++ b/kpatch/kpatch @@ -20,7 +20,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA, # 02110-1301, USA. -# This is the kpatch user script that manages installing, applying, and +# This is the kpatch user script that manages installing, loading, and # displaying information about kernel patch modules installed on the system. KERNELRELEASE="$(uname -r)" @@ -34,9 +34,9 @@ usage () { printf ' %-20s %s\n' "install " "install hotpatch module to the kpatch DB" >&2 printf ' %-20s %s\n' "uninstall " "uninstall hotpatch module from the kpatch DB" >&2 echo >&2 - printf ' %-20s %s\n' "apply --all" "apply all installed hotpatch modules to the running kernel" >&2 - printf ' %-20s %s\n' "apply " "apply installed hotpatch module to the running kernel" >&2 - printf ' %-20s %s\n' "remove " "remove hotpatch module from the running kernel" >&2 + printf ' %-20s %s\n' "load --all" "load all installed hotpatch modules to the running kernel" >&2 + printf ' %-20s %s\n' "load " "load installed hotpatch module to the running kernel" >&2 + printf ' %-20s %s\n' "unload " "unload hotpatch module from the running kernel" >&2 echo >&2 echo >&2 printf ' %-20s %s\n' "info " "show information about an installed hotpatch module" >&2 @@ -106,7 +106,7 @@ echo_patch_name() { unset MODULE [[ "$#" -gt 2 ]] || [[ "$#" -lt 1 ]] && usage case "$1" in -"apply") +"load") [[ "$#" -ne 2 ]] && usage case "$2" in "--all") diff --git a/man/kpatch.1 b/man/kpatch.1 index e9f9fae..02c4e86 100644 --- a/man/kpatch.1 +++ b/man/kpatch.1 @@ -6,7 +6,7 @@ kpatch \- hot patch module management .SH SYNOPSIS kpatch [] .SH DESCRIPTION -kpatch is a user script that manages installing, applying, and +kpatch is a user script that manages installing, loading, and displaying information about kernel patch modules installed on the system. .SH OPTIONS @@ -17,14 +17,14 @@ install uninstall uninstall hotpatch module from the kpatch DB -apply --all - apply all enabled hotpatch modules to the running kernel +load --all + load all enabled hotpatch modules to the running kernel -apply - apply installed hotpatch module to the running kernel +load + load installed hotpatch module to the running kernel -remove - remove hotpatch module from the running kernel +unload + unload hotpatch module from the running kernel info show information about an installed hotpatch module