summaryrefslogtreecommitdiffstats
path: root/sbin/swapon/swapon.8
Commit message (Collapse)AuthorAgeFilesLines
* - Purge one more reference to ad(4)[1].pluknet2013-11-221-6/+4
| | | | | | | - NSWAPDEV limit has gone. Noticed by: Sergey V. Dyatko [1] MFC after: 1 week
* - Add vnode-backed swap space specification support. This is enabled whenhrs2013-06-271-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | device names "md" or "md[0-9]*" and a "file" option are specified in /etc/fstab like this: md none swap sw,file=/swap.bin 0 0 - Add GBDE/GELI encrypted swap space specification support, which rc.d/encswap supported. The /etc/fstab lines are like the following: /dev/ada1p1.bde none swap sw 0 0 /dev/ada1p2.eli none swap sw 0 0 .eli devices accepts aalgo, ealgo, keylen, and sectorsize as options. swapctl(8) can understand an encrypted device in the command line like this: # swapctl -a /dev/ada2p1.bde - "-L" flag is added to support "late" option to defer swapon until rc.d/mountlate runs. - rc.d script change: rc.d/encswap -> removed rc.d/addswap -> just display a warning message if $swapfile is defined rc.d/swap1 -> renamed to rc.d/swap rc.d/swaplate -> newly added to support "late" option These changes alleviate a race condition between device creation/removal and swapon/swapoff. MFC after: 1 week Reviewed by: wblock (manual page)
* Add new option -F to specify alternative location of the /etc/fstabsobomax2011-10-251-2/+20
| | | | | | file. MFC after: 1 month
* Add a -q flag to swapon(8) to suppress informational messages. Use it inmtm2008-06-231-3/+11
| | | | | rc.d. Note: errors are not affected by this flag.
* - Change the meaning of -h flag from giving the output in megabytes topjd2008-05-201-3/+7
| | | | | | | giving the output in a human-readable form. This behaviour is consistent with most of system tools. - Add -m and -g options to give output in megabytes and gigabytes respectively.
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-101-4/+2
|
* Sort sections.ru2005-01-181-10/+10
|
* Remove advertising clause from University of California Regent's license,markm2004-04-091-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Spell "utilities" correctly.keramida2003-02-281-1/+1
|
* More fixes.ru2003-02-251-6/+8
| | | | | Submitted by: Andy Farkas <andyf@speednet.com.au> Reviewed by: das
* mdoc(7) police: Tidy up.ru2003-02-241-40/+58
|
* Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing todas2003-02-241-3/+8
| | | | | | swapon(2), and correct HISTORY. Reviewed by: mike (mentor)
* Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon withdillon2002-12-281-23/+78
| | | | | | | | | | | swapctl functionality. The idea is to create a swapctl command that is fairly close to the OpenBSD and NetBSD version. FreeBSD does not implement swap priority (and it would be a mistake if we did) so we didn't bother with that part of it. Submitted by: Eirik Nygaard <eirikn@bluezone.no> Augmented by: dillon (extensively) Reviewed by: David Schultz <dschultz@uclink.Berkeley.EDU>
* This is David Schultz's swapoff code which I am finally able to commit.dillon2002-12-151-15/+22
| | | | | | | This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-1/+1
|
* The .Nm utility.charnier2002-07-061-3/+4
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* vnconfig(8) -> mdconfig(8).ru2001-04-101-8/+6
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* correct wording in BUGS section; it's not possible to dismount swapgsutter2000-02-281-2/+2
| | | | | | | devices, but it's certainly possible to make use of them. PR: 17013 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
* Mention /dev/vn0b and /dev/vntab. ascii -> ASCII transform hadnik1999-09-261-0/+4
| | | | | | | already happened in an earlier commit. PR: docs/13645 Submitted by: Stephen Roznowski <sjr@home.com>
* Correct spelling : ascii -> ASCIIphantom1999-09-201-1/+1
| | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Refer to current names for swap partitions in the `FILES' section.jkoshy1999-05-171-3/+3
| | | | | PR: docs/11709 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
* .Nm swapon -> .Nm.charnier1998-08-031-3/+3
| | | | Sort #includes. Add rcsid.
* Revert last commit and SEE ALSO pstat(8) instead.steve1998-02-011-2/+2
| | | | Submitted by: Bruce Evans
* SEE ALSO swapinfo(8).steve1998-01-251-1/+2
| | | | | PR: 5447 Submitted by: Craig Leres <leres@ee.lbl.gov>
* .Xr vnconfig 8. This was suggested by Dworkin Muller <dworkin@village.org>imp1997-08-261-2/+3
| | | | | when he tried to figure out how to swap to a file and had to ask me for help.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* add missing comma(s) in .Xr macroswosch1996-09-231-2/+3
|
* Make the noauto flag usable for swap devices too. Closes PR#1542jkh1996-09-061-1/+1
| | | | Submitted-By: David Leonard <d@scry.dstc.edu.au>
* fstab is in section 5, not section 8.jkh1995-02-171-1/+1
| | | | Obtained from: NetBSD
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+90
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud