There is no reason why fallocate(1) should not be preferred instead of 'dd if=/dev/zero of=swapfile' with it's cumbersome size spec. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- disk-utils/mkswap.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-utils/mkswap.8 b/disk-utils/mkswap.8 index 219c49f..ab8a44a 100644 --- a/disk-utils/mkswap.8 +++ b/disk-utils/mkswap.8 @@ -130,7 +130,7 @@ e.g. using a command like .nf .RS -# dd if=/dev/zero of=swapfile bs=1024 count=65536 +# fallocate -l 8GB swapfile .RE .fi -- 1.8.1.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html