summaryrefslogtreecommitdiffstats
path: root/sbin/swapctl
AgeCommit message (Expand)AuthorFilesLines
2020-02-11Initialize rejecttype to appease static analyzersjca1-4/+3
2019-12-05Remove clause #3 from mrg@NetBSD license.mpi4-13/+5
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-9/+9
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.krw1-2/+2
2015-12-10Remove NULL-checks before free(). ok tb@mmcc1-3/+2
2015-09-15update spacing in usage(); reminded by jmc@schwarze1-2/+2
2015-09-15fix markup of the -t argumentschwarze1-6/+6
2015-08-20<stdlib.h> is included, so do not need to cast result fromderaadt1-2/+2
2015-08-14switch from system(3) to vfork(2)+execl(2) for invoking mount_nfs(8) when fstabsemarie1-8/+18
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failurederaadt1-3/+6
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2-5/+4
2014-08-10Only need <stdint.h> and not all of <inttypes.h> hereguenther1-2/+2
2013-07-16Add missing .Mt macros for AUTHORS email addresses.schwarze1-3/+3
2011-06-24swapctl -s was showing 1k blocks, regardless of -k. so fix this by showingjasper1-12/+14
2011-04-17a little more tweaking; ok krwjmc1-6/+6
2011-04-17Tweak verbiage, bring examples up to date.krw1-21/+11
2010-12-29Fix swapctl -A with DUIDs in /etc/fstab, and plug a small memory leak.stsp2-2/+9
2010-09-03add an EXIT STATUS section for /sbin;jmc1-4/+4
2007-11-26if no arguments given, assume a nice default; ok miod jakemsr deannaderaadt1-6/+10
2007-07-26use calloc() instead of malloc(); zinovik@cs.karelia.ruderaadt1-11/+10
2007-07-17sync swapon usage(); from Igor Zinovikjmc1-4/+2
2007-07-17do not try to list which options go with -p: the list is currently out ofjmc1-9/+2
2007-07-16Remove dead code and fix incorrect comment. From Igor Zinovik.millert3-21/+13
2007-07-16No need to include <sys/param.h> or <errno.h>. Also reorder includesmillert1-5/+3
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-27fix .Xr's to mount_vnd(8)grunk1-2/+3
2006-08-24add .Ex;jmc1-1/+3
2006-08-24- expand the text on priorities: from netbsdjmc1-17/+23
2006-08-24reword a scary sentence;jmc1-12/+6
2006-08-24sort options;jmc1-8/+8
2005-04-12handle snprintf potential -1 casederaadt1-3/+5
2004-01-12- avoid variable sized static array (from millert@)avsm1-5/+6
2003-09-26check strdup failure; ok anil millertderaadt1-4/+4
2003-06-03- section reorderjmc1-2/+3
2003-05-10document that kernel automatically handles first swap partitionjmc1-1/+15
2003-03-03Fix inaccuracies in comments.miod1-5/+4
2003-02-13typos;jmc1-3/+3
2002-12-19no youderaadt1-2/+2
2002-07-03ansideraadt2-22/+10
2002-05-15typo in comment.art1-2/+2
2002-05-15Kill commented out stubs for swapoff.art1-11/+1
2002-05-15kill the reference to swapoff.art1-3/+1
2002-02-16Part 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.millert2-11/+11
2001-12-21Initial patch for a new mdoc issue.mpech1-5/+2
2001-08-02o) .Sh AUTHOR -> .Sh AUTHORS;mpech1-2/+2
2001-07-26Remove BUGS section, swapoff now works. ok art@pvalchev1-10/+1
2001-06-04return from main() don't exitmickey1-14/+12
2001-06-02Various swapctl(8) improvements:miod1-20/+34
2001-04-23Various man page fixes and improvements from gluk@aaron1-2/+2