diff options
author | Mike Frysinger | 2015-04-12 11:06:52 +0200 |
---|---|---|
committer | Karel Zak | 2015-04-27 10:28:44 +0200 |
commit | f1bc59963fb2cf755fa1373c4f86fe8a6bdc2bf8 (patch) | |
tree | 866ed6195e448d3167ff17fad440399b4dc359e8 /sys-utils/swapon.8 | |
parent | mkfs: drop hardcoded search path (diff) | |
download | kernel-qcow2-util-linux-f1bc59963fb2cf755fa1373c4f86fe8a6bdc2bf8.tar.gz kernel-qcow2-util-linux-f1bc59963fb2cf755fa1373c4f86fe8a6bdc2bf8.tar.xz kernel-qcow2-util-linux-f1bc59963fb2cf755fa1373c4f86fe8a6bdc2bf8.zip |
swapon: search for mkswap via PATH
Rather than hardcode /sbin/mkswap all the time, use a normal PATH search.
This matches the normal behavior of other tools, and makes local testing
easier.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-utils/swapon.8')
-rw-r--r-- | sys-utils/swapon.8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/swapon.8 b/sys-utils/swapon.8 index e571a5fb0..299da2282 100644 --- a/sys-utils/swapon.8 +++ b/sys-utils/swapon.8 @@ -108,7 +108,7 @@ may also be used to skip non-existing device. .TP .BR \-f , " \-\-fixpgsz" -Reinitialize (exec /sbin/mkswap) the swap space if its page size does not +Reinitialize (exec mkswap) the swap space if its page size does not match that of the current running kernel. .BR mkswap (2) initializes the whole device and does not check for bad blocks. |