]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swapoff: move code from swapon.c to swapoff.c
authorKarel Zak <kzak@redhat.com>
Wed, 18 Apr 2012 09:43:42 +0000 (11:43 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Apr 2012 09:43:42 +0000 (11:43 +0200)
commit6cf8d46ceefe9a7f40c3a07f2f30128b7c1f54fe
tree6e01e3cad96e600a399cb268d3d29595efc4450c
parent0b0c231f64d02e6822b62d38705573de6c038b2b
swapoff: move code from swapon.c to swapoff.c

 * multipurpose binaries (symlinks) suck when used with autotools
 * swapoff shares small subset of the code with swapon
 * usage() and 'struct option' is unnecessary complex when shared
 * shorter and simple code is easer to maintain...

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/.gitignore
sys-utils/Makefile.am
sys-utils/swapoff.c [new file with mode: 0644]
sys-utils/swapon.c