]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkswap: use dd(1) in example rather than fallocate(1)
authorKarel Zak <kzak@redhat.com>
Wed, 12 Dec 2018 11:14:39 +0000 (12:14 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 12 Dec 2018 11:14:39 +0000 (12:14 +0100)
commit4d09682b3cd91cc96d12a38dba922c1d3dc083d5
treed5aba3f8294704fad0b21611669c695b37ae0e4e
parent6245c26ad4e4a7cc97a209a6b237e8c4bd1706a4
mkswap: use dd(1) in example rather than fallocate(1)

The man page warns against fallocate on some filesystems and recommends
dd(1) as the most portable solution. So, let's use dd(1) also in the
example used in the same man page.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1203378
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkswap.8