summaryrefslogtreecommitdiffstats
path: root/mount/swapon.8
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: move swapon from mount/ to sys-utils/Karel Zak2012-01-111-220/+0Star
| | | | | | ... to make it independent on mount stuff. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-1/+1
| | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: better text for "discard", note about swapon in fstab.5Karel Zak2010-11-101-3/+3
| | | | | | Suggested by Hugh Dickins. Thanks. Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: add "discard" supportHugh Dickins2010-11-011-0/+11
| | | | | | | | | | | | | | | | | | In kernel 2.6.36 (and in stable kernel 2.6.35.5) I made a tiny change to the swapon(const char *path, int swapflags) system call interface: kernel commit 3399446632739fcd05fd8b272b476a69c6e6d14a swap: discard while swapping only if SWAP_FLAG_DISCARD As things stand at present, we could just remove the swap discard support; but since several filesystems (including ext4 and btrfs and fat) are offering a "discard" mount option, I thought swap should take the same course, and offer a "--discard" or "-d" option to swapon(8). [kzak@redhat.com: - update swapon.8 man page - use for -d the same logic as for -p] Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: add support for "nofail" fstab mount optionKarel Zak2010-10-251-0/+6
| | | | | | | | | This option is already supported by mount(8) and fsck(8), there is no reason to have any exception for swap devices. Note that the --ifexists command line option applies to all swap devices, the "nofail" setting is per device. Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: Document btrfs limitation with swapfilesJeff Mahoney2010-07-071-0/+12
| | | | | | | | | | | | | | | | Btrfs, as of 2.6.35, is unable to allow swapfiles to be used on its filesystems. This is due to the swapfile implementation wanting to build an extent map of each block in the file and expecting it to be static for the life of the swapfile. Btrfs can't guarantee this and refuses to return the mapping. The swapfile implementation just makes a comment about there being holes in the file - but that's how btrfs denies the mapping. This patch adds a section to the swapon manpage to document it. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: fix typo on swapon.8 manpageFlorentin Duneau2009-10-121-1/+1
| | | | | Addresses-Debian-Bug: 487497 Signed-off-by: LaMont Jones <lamont@debian.org>
* swapon.8: formattingPeter Breitenlohner2009-08-171-7/+3Star
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* swapon: fix wording in man pageKarel Zak2009-03-051-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: add -f/--fixpgsz optionKarel Zak2009-03-031-0/+8
| | | | | | | | | | | | | | | | | | The patch: commit 3399a218f4eff4016a22044e7c416521bc37c53c Author: Matthias Koenig <mkoenig@suse.de> Date: Thu Nov 27 12:32:56 2008 +0100 swapon: add swap format detection and pagesize check introduced a new feature. This feature should be optional (disabled by default) to keep happy people who use swap-space bad blocks or nonstandard swap-space size. CC: Hugh Dickins <hugh@veritas.com> CC: Olaf Hering <olh@suse.de> CC: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: cleanup man pageKarel Zak2009-03-031-42/+62
| | | | | | The patch also fix stupid bug in swapoff long options array. Signed-off-by: Karel Zak <kzak@redhat.com>
* swapon: readjust the usage summariesBenno Schulenberg2007-12-031-22/+16Star
| | | | | | | swapon.8: reorder options, lowercase command names, tweak sentences. swapon.c: tweak descriptions, adjust spaces for proper alignment. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.12o tarball.Karel Zak2006-12-071-13/+36
|
* Imported from util-linux-2.12m tarball.Karel Zak2006-12-071-2/+4
|
* Imported from util-linux-2.12j tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.11x tarball.Karel Zak2006-12-071-3/+13
|
* Imported from util-linux-2.11t tarball.Karel Zak2006-12-071-9/+9
|
* Imported from util-linux-2.10m tarball.Karel Zak2006-12-071-2/+8
|
* Imported from util-linux-2.9i tarball.Karel Zak2006-12-071-6/+8
|
* Imported from util-linux-2.7.1 tarball.Karel Zak2006-12-071-0/+15
|
* Imported from util-linux-2.5 tarball.Karel Zak2006-12-071-7/+25
|
* Imported from util-linux-2.2 tarball.Karel Zak2006-12-071-0/+94