summaryrefslogtreecommitdiffstats
path: root/sbin/swapctl (follow)
Commit message (Expand)AuthorAgeFilesLines
* Initialize rejecttype to appease static analyzersjca2020-02-111-4/+3
* Remove clause #3 from mrg@NetBSD license.mpi2019-12-054-13/+5
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-282-9/+9
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-2/+1
* Last parameter to execl[e]() functions *must* be cast to a pointer.krw2016-03-171-2/+2
* Remove NULL-checks before free(). ok tb@mmcc2015-12-101-3/+2
* update spacing in usage(); reminded by jmc@schwarze2015-09-151-2/+2
* fix markup of the -t argumentschwarze2015-09-151-6/+6
* <stdlib.h> is included, so do not need to cast result fromderaadt2015-08-201-2/+2
* switch from system(3) to vfork(2)+execl(2) for invoking mount_nfs(8) when fstabsemarie2015-08-141-8/+18
* Convert many atoi() calls to strtonum(), adding range checks and failurederaadt2015-04-181-3/+6
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-162-5/+4
* Only need <stdint.h> and not all of <inttypes.h> hereguenther2014-08-101-2/+2
* Add missing .Mt macros for AUTHORS email addresses.schwarze2013-07-161-3/+3
* swapctl -s was showing 1k blocks, regardless of -k. so fix this by showingjasper2011-06-241-12/+14
* a little more tweaking; ok krwjmc2011-04-171-6/+6
* Tweak verbiage, bring examples up to date.krw2011-04-171-21/+11
* Fix swapctl -A with DUIDs in /etc/fstab, and plug a small memory leak.stsp2010-12-292-2/+9
* add an EXIT STATUS section for /sbin;jmc2010-09-031-4/+4
* if no arguments given, assume a nice default; ok miod jakemsr deannaderaadt2007-11-261-6/+10
* use calloc() instead of malloc(); zinovik@cs.karelia.ruderaadt2007-07-261-11/+10
* sync swapon usage(); from Igor Zinovikjmc2007-07-171-4/+2
* do not try to list which options go with -p: the list is currently out ofjmc2007-07-171-9/+2
* Remove dead code and fix incorrect comment. From Igor Zinovik.millert2007-07-163-21/+13
* No need to include <sys/param.h> or <errno.h>. Also reorder includesmillert2007-07-161-5/+3
* convert to new .Dd format;jmc2007-05-311-2/+2
* fix .Xr's to mount_vnd(8)grunk2007-05-271-2/+3
* add .Ex;jmc2006-08-241-1/+3
* - expand the text on priorities: from netbsdjmc2006-08-241-17/+23
* reword a scary sentence;jmc2006-08-241-12/+6
* sort options;jmc2006-08-241-8/+8
* handle snprintf potential -1 casederaadt2005-04-121-3/+5
* - avoid variable sized static array (from millert@)avsm2004-01-121-5/+6
* check strdup failure; ok anil millertderaadt2003-09-261-4/+4
* - section reorderjmc2003-06-031-2/+3
* document that kernel automatically handles first swap partitionjmc2003-05-101-1/+15
* Fix inaccuracies in comments.miod2003-03-031-5/+4
* typos;jmc2003-02-131-3/+3
* no youderaadt2002-12-191-2/+2
* ansideraadt2002-07-032-22/+10
* typo in comment.art2002-05-151-2/+2
* Kill commented out stubs for swapoff.art2002-05-151-11/+1
* kill the reference to swapoff.art2002-05-151-3/+1
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-162-11/+11
* Initial patch for a new mdoc issue.mpech2001-12-211-5/+2
* o) .Sh AUTHOR -> .Sh AUTHORS;mpech2001-08-021-2/+2
* Remove BUGS section, swapoff now works. ok art@pvalchev2001-07-261-10/+1
* return from main() don't exitmickey2001-06-041-14/+12
* Various swapctl(8) improvements:miod2001-06-021-20/+34
* Various man page fixes and improvements from gluk@aaron2001-04-231-2/+2