summaryrefslogtreecommitdiff
path: root/sbin/swapctl
AgeCommit message (Expand)Author
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-09-15update spacing in usage(); reminded by jmc@Ingo Schwarze
2015-09-15fix markup of the -t argumentIngo Schwarze
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
2015-08-14switch from system(3) to vfork(2)+execl(2) for invoking mount_nfs(8) when fstabSebastien Marie
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-10Only need <stdint.h> and not all of <inttypes.h> herePhilip Guenther
2013-07-16Add missing .Mt macros for AUTHORS email addresses.Ingo Schwarze
2011-06-24swapctl -s was showing 1k blocks, regardless of -k. so fix this by showingJasper Lievisse Adriaanse
2011-04-17a little more tweaking; ok krwJason McIntyre
2011-04-17Tweak verbiage, bring examples up to date.Kenneth R Westerback
2010-12-29Fix swapctl -A with DUIDs in /etc/fstab, and plug a small memory leak.Stefan Sperling
2010-09-03add an EXIT STATUS section for /sbin;Jason McIntyre
2007-11-26if no arguments given, assume a nice default; ok miod jakemsr deannaTheo de Raadt
2007-07-26use calloc() instead of malloc(); zinovik@cs.karelia.ruTheo de Raadt
2007-07-17sync swapon usage(); from Igor ZinovikJason McIntyre
2007-07-17do not try to list which options go with -p: the list is currently out ofJason McIntyre
2007-07-16Remove dead code and fix incorrect comment. From Igor Zinovik.Todd C. Miller
2007-07-16No need to include <sys/param.h> or <errno.h>. Also reorder includesTodd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-27fix .Xr's to mount_vnd(8)Alexander von Gernler
2006-08-24add .Ex;Jason McIntyre
2006-08-24- expand the text on priorities: from netbsdJason McIntyre
2006-08-24reword a scary sentence;Jason McIntyre
2006-08-24sort options;Jason McIntyre
2005-04-12handle snprintf potential -1 caseTheo de Raadt
2004-01-12- avoid variable sized static array (from millert@)Anil Madhavapeddy
2003-09-26check strdup failure; ok anil millertTheo de Raadt
2003-06-03- section reorderJason McIntyre
2003-05-10document that kernel automatically handles first swap partitionJason McIntyre
2003-03-03Fix inaccuracies in comments.Miod Vallat
2003-02-13typos;Jason McIntyre
2002-12-19no youTheo de Raadt
2002-07-03ansiTheo de Raadt
2002-05-15typo in comment.Artur Grabowski
2002-05-15Kill commented out stubs for swapoff.Artur Grabowski
2002-05-15kill the reference to swapoff.Artur Grabowski
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
2001-08-02o) .Sh AUTHOR -> .Sh AUTHORS;Mike Pechkin
2001-07-26Remove BUGS section, swapoff now works. ok art@Peter Valchev
2001-06-04return from main() don't exitMichael Shalayeff
2001-06-02Various swapctl(8) improvements:Miod Vallat
2001-04-23Various man page fixes and improvements from gluk@Aaron Campbell
2001-03-09PATH_MAX+1 is wrong. Not cranking libc/libc_r majors over this, since they j...Theo de Raadt
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-06-28Remove information that's NetBSD-specific.Artur Grabowski
2000-04-13example fstab entryTheo de Raadt