From f31adc8f76e17050e7f9b28f72591d8cdf65b478 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 19 Jan 2013 00:09:06 +0000 Subject: [PATCH] docs: mkswap.8: recommend fallocate(1) 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 Signed-off-by: Karel Zak --- 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 219c49f742..6435dd6aee 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 --length 8GiB swapfile .RE .fi -- 2.47.2