Up to [cvs.NetBSD.org] / src / sbin / swapctl
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.41 / (download) - annotate - [select for diffs], Mon Apr 4 19:33:44 2022 UTC (9 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
HEAD
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored)
fix various typos, mainly in comments.
Revision 1.40 / (download) - annotate - [select for diffs], Sun Oct 11 23:58:16 2015 UTC (7 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Changes since 1.39: +22 -14
lines
Diff to previous 1.39 (colored)
don't stop processing /etc/fstab when one entry fails, both for add and remove loops. now when you add a new swap file and run "swapctl -A" it won't give up after the existing one gives EBUSY and move on to the rest.
Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:11 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.37: +40 -13
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
resync with head
Revision 1.36.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:34 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36.2.1: +40 -13
lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)
sync with head
Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 1 19:01:10 2013 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
agc-symver-base,
agc-symver
Changes since 1.38: +3 -2
lines
Diff to previous 1.38 (colored)
Explicitly include sys/ioctl.h
Revision 1.38 / (download) - annotate - [select for diffs], Wed Dec 26 10:15:28 2012 UTC (10 years, 1 month ago) by mlelstv
Branch: MAIN
Changes since 1.37: +39 -13
lines
Diff to previous 1.37 (colored)
Allow named wedges to be used on command line, also fix name lookup for the dump device.
Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:43 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36: +18 -13
lines
Diff to previous 1.36 (colored)
sync with head
Revision 1.37 / (download) - annotate - [select for diffs], Sat Apr 7 04:52:20 2012 UTC (10 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.36: +18 -13
lines
Diff to previous 1.36 (colored)
use getfsspecname()
Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 27 18:57:50 2011 UTC (11 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.35: +15 -15
lines
Diff to previous 1.35 (colored)
static + __dead
Revision 1.35 / (download) - annotate - [select for diffs], Thu Sep 24 16:15:20 2009 UTC (13 years, 4 months ago) by apb
Branch: MAIN
CVS Tags: matt-premerge-20091211,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.34: +22 -6
lines
Diff to previous 1.34 (colored)
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".
Revision 1.32.18.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:48:54 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.18.1: +3 -1
lines
Diff to previous 1.32.18.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)
Sync with HEAD.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Dec 28 20:18:53 2008 UTC (14 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.33: +5 -3
lines
Diff to previous 1.33 (colored)
fix dev_t format.
Revision 1.32.22.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:00 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +2 -4
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.32.20.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:37 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.32: +2 -4
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
sync with head
Revision 1.32.18.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:24 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32: +2 -4
lines
Diff to previous 1.32 (colored)
Sync with HEAD.
Revision 1.33 / (download) - annotate - [select for diffs], Thu May 29 14:51:25 2008 UTC (14 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2
Changes since 1.32: +2 -4
lines
Diff to previous 1.32 (colored)
remove clause #3 from my license where there are no other copyright holders involved.
Revision 1.32 / (download) - annotate - [select for diffs], Sun Aug 27 21:07:39 2006 UTC (16 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base2,
yamt-pf42-base,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: yamt-pf42,
wrstuden-revivesa,
mjf-devfs2
Changes since 1.31: +245 -18
lines
Diff to previous 1.31 (colored)
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.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Aug 23 20:59:09 2006 UTC (16 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.30: +4 -4
lines
Diff to previous 1.30 (colored)
Sort options. Sync usage with man page.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Aug 22 14:08:36 2006 UTC (16 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.29: +27 -19
lines
Diff to previous 1.29 (colored)
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.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 12 16:24:20 2005 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.28: +10 -10
lines
Diff to previous 1.28 (colored)
Remove some const. This is better than using __UNCONST at the second argument of swapctl.
Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 9 05:51:38 2005 UTC (17 years, 11 months ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.27: +23 -34
lines
Diff to previous 1.27 (colored)
Kill __P(), use ANSI function declarations, constify; WARNS=3. Reviewed by mrg@.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 10 20:53:48 2005 UTC (18 years ago) by lukem
Branch: MAIN
Changes since 1.26: +9 -2
lines
Diff to previous 1.26 (colored)
support RESCUEDIR (for mount_nfs and umount)
Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sun Jun 13 08:42:34 2004 UTC (18 years, 7 months ago) by jdc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Changes since 1.25: +3 -2
lines
Diff to previous 1.25 (colored) next main 1.26 (colored)
Pull up revision 1.26 (requested by cjep in ticket #460). Fix usage string (i.e. add information about -z). Fixes PR#25865 from Kouichirou Hiratsuka.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Jun 8 08:13:16 2004 UTC (18 years, 7 months ago) by cjep
Branch: MAIN
Changes since 1.25: +3 -2
lines
Diff to previous 1.25 (colored)
Fix usage string (i.e. add information about -z). Fixes PR#25865 from Kouichirou Hiratsuka.
Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 20 13:31:43 2003 UTC (19 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.24: +19 -7
lines
Diff to previous 1.24 (colored)
support "-g" and "-m" as well as "-k" and "-h". swapctl & swaplist code from Martin Weber, adapted for pstat by myself.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 20 11:22:25 2003 UTC (19 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.23: +14 -6
lines
Diff to previous 1.23 (colored)
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) :-)
Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 21 02:32:54 2003 UTC (19 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored)
The 3rd argument to swapctl() is an int, don't pass NULL in it.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 23 11:53:44 2003 UTC (19 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.21: +7 -1
lines
Diff to previous 1.21 (colored)
Add NetBSD RCS Ids.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Sep 18 10:18:17 2002 UTC (20 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +3 -1
lines
Diff to previous 1.20 (colored)
print something sensible on -z if no dump device is set
Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 21 09:04:16 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.19: +6 -1
lines
Diff to previous 1.19 (colored)
Support 'dp' as mount option for 'sw' fstype, so it DTRT for entries like: /dev/wd0b none swap sw,dp 0 0
Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 26 15:23:38 2001 UTC (21 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
Add word "WARNING" when complaining about swap being world-read/writeable to clarify that this was not an error condition and that swap was indeed added despite the problem.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Feb 19 22:56:23 2001 UTC (21 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.17: +16 -17
lines
Diff to previous 1.17 (colored)
convert to use getprogname()
Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 17 12:35:09 2000 UTC (22 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
fix incorrect comment; -d does work!
Revision 1.16 / (download) - annotate - [select for diffs], Fri Nov 17 11:43:41 2000 UTC (22 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.15: +33 -4
lines
Diff to previous 1.15 (colored)
support new `swapctl -z' that shows the dump device.
Revision 1.14.4.1 / (download) - annotate - [select for diffs], Thu Jul 27 16:12:35 2000 UTC (22 years, 6 months ago) by itojun
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Changes since 1.14: +2 -2
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
pullup (approved by releng-1-5) printf-like format pedant. do not pass string variable alone. use "%s". from openbsd. /cvsroot/basesrc/sbin/swapctl/swapctl.c 1.14 -> 1.15 /cvsroot/basesrc/sbin/ping6/ping6.c 1.15 -> 1.16 /cvsroot/basesrc/sbin/disklabel/disklabel.c 1.84 -> 1.85 /cvsroot/basesrc/sbin/ccdconfig/ccdconfig.c 1.30 -> 1.31
Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 7 12:29:10 2000 UTC (22 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.14: +2 -2
lines
Diff to previous 1.14 (colored)
warnx?/errx? audit. don't pass variable/function return value alone. use with "%s". from openbsd.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 13 08:29:56 2000 UTC (22 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.13: +2 -3
lines
Diff to previous 1.13 (colored)
use <sys/swap.h>. should have happened years ago.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 13 22:59:22 2000 UTC (22 years, 10 months ago) by soren
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
Fix doubled 'the's.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 5 11:35:22 2000 UTC (22 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.11: +93 -50
lines
Diff to previous 1.11 (colored)
* add support for -U, which is the opposite of -A (i.e, it unconfigures all swap devices in /etc/fstab). * fix description of -D
Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 26 01:02:25 1999 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.10: +7 -6
lines
Diff to previous 1.10 (colored)
add a -D line to usage().
Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 23 17:00:53 1999 UTC (23 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Changes since 1.9: +55 -17
lines
Diff to previous 1.9 (colored)
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.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 26 20:23:15 1998 UTC (24 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +4 -4
lines
Diff to previous 1.8 (colored)
const poisoning.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 10 03:14:33 1998 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.7: +7 -2
lines
Diff to previous 1.7 (colored)
make swapctl exit with non-zero if -A and nothing swapped on
Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 10 05:39:53 1997 UTC (25 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.6: +2 -6
lines
Diff to previous 1.6 (colored)
remove advertising clause from all my licenses.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 15 11:22:00 1997 UTC (25 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
* fix .Nm usage * prototype main() for WARNS=1
Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 11 03:36:27 1997 UTC (25 years, 6 months ago) by mikel
Branch: MAIN
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (colored)
add comparisons to NULL implicit in my last changes
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 25 23:18:11 1997 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +72 -6
lines
Diff to previous 1.3 (colored)
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).
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 24 05:22:38 1997 UTC (25 years, 7 months ago) by mikel
Branch: MAIN
Changes since 1.2: +6 -5
lines
Diff to previous 1.2 (colored)
include <err.h> for err*() and warn*() prototypes cast long to int for use by printf("%d",..) add parens for gcc -Wall
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 15 03:47:53 1997 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +176 -90
lines
Diff to previous 1.1 (colored)
Totally rework the command parsing, eliminating a few walk-offs of bogus pointers, etc.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Jun 12 13:14:11 1997 UTC (25 years, 7 months ago) by mrg
Branch: mrg
CVS Tags: mrg-970612
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
swapctl program for new swap code.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 12 13:14:11 1997 UTC (25 years, 7 months ago) by mrg
Branch: MAIN
Initial revision