Commit Graph

44 Commits

Author SHA1 Message Date
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
jruoho dd4ef98f2e Clarify placement of commas. From Snader_LB on freenode/#netbsd-code. 2011-06-01 09:46:48 +00:00
apb 29d1bfefcb Make the exit status from "swapctl -A" and "swapctl -U" tri-state:
0 for success; 1 for error; and 2 when no devices of the appropriate type
are defined in fstab(5).  Previously, "no apropriate devices" was
indistinguishable from "error".
2009-09-24 16:15:20 +00:00
mrg c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
he 844b7f67f9 Re-phrase description of -A option, as per suggestion from Jukka Salmi
at netbsd-users@ and with a slight tweak by myself -- at the end the last
dump device will remain as the single active dump device.
Fix a nearby typo.
Bump date.
2007-08-02 18:53:46 +00:00
wiz 84f9a9145e Sort sections. Fix typo. Start sentence with upper-case letter. 2006-09-02 23:58:41 +00:00
martin 2675789424 Add a caveats section describing potential problems with autoconfigured
swap partitons.
2006-08-27 22:00:33 +00:00
martin 0a4f0b6f07 As discussed on tech-userlevel: enhance the -A/-U commands to take a -t
auto flag, which queries all local harddisks for swap partitions/
wedges and adds/removes them as swap device, a -f option to use the
first found swap device as dump device, and a -o option to only
auto-configure the dump device, but leave swap alone.

Add a -n option to make swapctl only say what it would do, but not
change any system state.
2006-08-27 21:07:39 +00:00
wiz d728febe7a Sort options. Sync usage with man page. 2006-08-23 20:59:09 +00:00
wiz 2161b003f1 Sort sections. Fix typos. 2006-08-23 20:53:53 +00:00
martin fb07e2dde3 Only one -D synopsis line 2006-08-22 21:38:39 +00:00
martin b99b0d9adb Allow unsetting the dump device via "swapctl -D none".
For -l (list swap partitions) and -z (list dump device) return a usefull
error status, so scripts can easily decide if swap or dump are configured.
2006-08-22 14:08:36 +00:00
wiz 16ae99405d Drop trailing whitespace. 2004-06-08 15:53:05 +00:00
cjep 946cf9f356 Add options for swapon in the Synopsis section. Closes PR#25866 from
Kouichirou Hiratsuka.
2004-06-08 08:16:11 +00:00
mrg 61b5ab403f bump date for previous 2003-12-21 02:52:02 +00:00
mrg 9bf440d20b support "-g" and "-m" as well as "-k" and "-h". swapctl & swaplist code
from Martin Weber, adapted for pstat by myself.
2003-12-20 13:31:42 +00:00
mrg 5fd013c40d add a "-h" (humanize_number(3)) option to swapctl(8) and pstat(8), from
Martin Weber in PR#23805.

ps: now we only need someone to do ls(1) :-)
2003-12-20 11:22:25 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
hubertf 8221d7ffdd Mention that the mount point for a remote swap file must exist as a directory.
Sanity checked by salo.
2003-01-24 19:48:52 +00:00
wiz e9af08e68c New sentence, new line. Use some more mdoc. 2002-10-01 14:53:58 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz 875bfce8db Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
wiz 6494394420 Remove swapoff mention, per misc/14120.
Some whitespace, section name, section order fixes while I'm here.
2001-10-01 23:15:59 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
mrg 32aec0200a add a section on swap priorities. document the round robin scheme.
fixes half of PR#12610.
2001-04-11 14:10:17 +00:00
mrg f44b54e376 support new `swapctl -z' that shows the dump device. 2000-11-17 11:43:41 +00:00
lukem 655afb7cd6 * add support for -U, which is the opposite of -A (i.e, it unconfigures
all swap devices in /etc/fstab).
* fix description of -D
2000-03-05 11:35:22 +00:00
ad 902637d2e4 swapctl(SWAP_OFF, ...) now works. 2000-01-13 12:11:30 +00:00
mrg bdadd56346 add a new fstab type "dp" for the user-specified dump device.
change swapctl -A to see this and add it via swapctl(2).  also
add a new swapctl -D <device> to change the dump device on the
fly.
1999-02-23 17:00:53 +00:00
msaitoh f8c66df30b sort entries and delete extra periods in SEE also section. 1998-05-22 18:27:50 +00:00
mrg 2fe3f46005 make swapctl exit with non-zero if -A and nothing swapped on 1998-02-10 03:14:32 +00:00
ross 9539f3dbe1 Typo corrections. 1998-01-26 06:58:01 +00:00
mrg 9f84449ae5 add missing .Nm sections. 1997-11-11 14:39:59 +00:00
mrg 93b7e4207d oops; forgot to update the license here. 1997-10-23 03:00:12 +00:00
enami 0d4522a03f Fix .Nm usage. 1997-10-20 09:11:16 +00:00
lukem 0a96848668 * fix .Nm usage
* prototype main() for WARNS=1
1997-09-15 11:21:59 +00:00
mikel 48b0668523 note that swapoff is unsupported; from Brian Grayson in PR misc/3930 1997-08-03 05:48:10 +00:00
perry 9386b2e135 move -t option to stand on its own and change a bit.
add a WARNINGS about the dangers of running without swap or only using
swap files if you have local disk to fsck.
1997-06-26 00:51:07 +00:00
thorpej 2ea04e4383 Add a "-t blk|noblk" device type option to swapctl -A. This allows the
user to specify "only add block devices" or "only add non-block devices".
This is useful during early system startup where swapping may be needed
before swap files are available (e.g. if fsck'ing large file systems).
1997-06-25 23:18:10 +00:00
mrg e4a130c78e note what N in priority=N means. 1997-06-15 15:22:48 +00:00
mrg 20548cd669 make option lists much clearer. 1997-06-15 04:08:33 +00:00
mrg a413009751 document nfsmntpt option, re-arrange a little. 1997-06-15 03:52:02 +00:00
mrg 01a7eafbaa swapctl program for new swap code. 1997-06-12 13:14:11 +00:00