aboutsummaryrefslogtreecommitdiff
path: root/sbin/swapon/swapon.c
Commit message (Expand)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-231-2/+0
* swapon(8): adapt to the new swapoff(2) interfaceKonstantin Belousov2021-12-201-8/+2
* swapoff(8): add -f flagKonstantin Belousov2021-12-201-5/+18
* - Fix logic error in swapoff case: follow same handling of p andXin LI2020-05-041-6/+4
* Fix a logic bug in error handling code. It is an error if p == NULL.Don Lewis2019-12-091-1/+1
* swap_pager.c reserves 2 blocks for a bsd label. Change that 2 to theDoug Moore2019-08-151-2/+3
* Rewrite the comments that explain swapon_trim() to make them moreDoug Moore2019-07-261-5/+11
* In trimming on startup, invoke swapon before closing the fd used forDoug Moore2019-07-201-8/+15
* You can't use block special nodes for swap, so don't let that happen.Doug Moore2019-06-221-3/+2
* Modify swapon(8) to invoke BIO_DELETE to trim swap devices, either ifDoug Moore2019-06-221-5/+54
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Fix late and noauto with geli swapDmitry Marakasov2017-03-141-1/+5
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* swapoff: Remove only late devices with -aL.Jilles Tjoelker2016-10-211-0/+4
* Stop using the non-standard basename_r() function.Ed Schouten2016-05-311-4/+10
* sbin: minor spelling fixes.Pedro F. Giffuni2016-04-301-1/+1
* Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9Enji Cooper2016-02-011-2/+2
* Call va_end on ap when vsnprintf fails in run_cmd(..) to clean upEnji Cooper2015-12-091-0/+1
* Allow to disable BIO_DELETE passthru in fstab for swap-on-geli devices byPawel Jakub Dawidek2015-08-081-4/+6
* Do not add late flag when file= is specified because it has a badHiroki Sato2014-10-101-8/+1
* swapon: Fix buffer overflow when configuring encrypted swap on GBDE.Jilles Tjoelker2013-12-211-1/+2
* Style clean-ups.Hiroki Sato2013-09-051-54/+48
* Enable "late" option when a file= option is specified in /etc/fstab.Hiroki Sato2013-09-051-4/+11
* Make two buffer variables static for now. It is not safe toXin LI2013-07-311-1/+1
* Plug a memory leak.Xin LI2013-07-021-0/+7
* Correct a typo in comment.Xin LI2013-07-011-1/+1
* - Modify swapon(8) so that it uses most of geli(8) defaults for swap,Xin LI2013-06-291-160/+159
* Fix build with gcc.Hiroki Sato2013-06-281-3/+5
* Fix build.Hiroki Sato2013-06-281-11/+11
* - Add vnode-backed swap space specification support. This is enabled whenHiroki Sato2013-06-271-24/+543
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-1/+1
* Build swapon with WARNS=6.Ed Schouten2011-10-251-5/+5
* Add new option -F to specify alternative location of the /etc/fstabMaxim Sobolev2011-10-251-2/+9
* Add a -q flag to swapon(8) to suppress informational messages. Use it inMike Makonnen2008-06-231-6/+13
* - Change the meaning of -h flag from giving the output in megabytes toPawel Jakub Dawidek2008-05-201-18/+57
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-101-5/+3
* Don't include sys/user.h merely for its side-effect of recursivelyDavid Schultz2004-11-271-1/+1
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-091-4/+0
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)Mark Murray2004-03-051-1/+1
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+4
* - Add a clearer error message for the case where swapon hits theDavid Schultz2003-02-241-3/+9
* Remove hack from rev 1.15; getbsize(3)'s original interface has beenMike Barcroft2002-12-301-3/+1
* Make the first argument to getbsize(3) a `size_t *'. This is a hackMike Barcroft2002-12-301-3/+4
* Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon withMatthew Dillon2002-12-281-42/+177
* This is David Schultz's swapoff code which I am finally able to commit.Matthew Dillon2002-12-151-11/+32
* o remove __PWarner Losh2002-03-211-2/+2
* Remove 'register' keyword.David E. O'Brien2002-03-201-2/+2
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
* Add include of errno.h where needed, remove extern int errno where not.Warner Losh2000-04-141-2/+0
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1