This patch make --add-temp-swap obey the --dry-run swtich and simply
print what it would do instead of creating swap space.
Signed-off-by: Eric B Munson
---
hugeadm.c | 26 +++---
1 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/hugeadm.c b/hugeadm.c
index a7
From: Eric B Munson
Currently the --dry-run switch prints the equivalent shell script
but it still executes the command as well. This patch makes the
--dry-run switch skip the action after printing the shell script.
Signed-off-by: Eric B Munson
---
hugeadm.c | 72 +++