History log of /src/etc/rc.d/swap1 |
Revision | | Date | Author | Comments |
1.14 |
| 16-Apr-2022 |
andvar | fix various typos in comments and log messages.
|
1.13 |
| 19-Oct-2018 |
martin | Apply patch from Ian D. Leroux in PR bin/51019: when unmounting tmpfs file systems at shutdown time, avoid unmounting a tmpfs created by init on /dev - behaviour overridable from rc.conf. By default all tmpfs that have device nodes are not mounted.
|
1.12 |
| 20-Apr-2015 |
prlw1 | branches: 1.12.14; 1.12.16; Apply modified version of patch from Wolfgang Stukenbrock in PR bin/41766
This forcibly unmounts tmpfs file systems, so that swapctl doesn't run out of swap itself, eventually trying to kill pid 1.
No objections since: http://mail-index.netbsd.org/current-users/2015/03/16/msg026908.html
|
1.11 |
| 24-Sep-2009 |
apb | Adapt /etc/rc.d/swap1 and swap2 scripts to the new meaning of exit status 2 from swapctl(8).
|
1.10 |
| 21-Apr-2009 |
joerg | Split fsck during boot into two phases. Check the root file system first, mount root and run the various disk providers. Add swap and check the remaining file systems after that. This breaks the dependency cycle for lvm, which needs writeable /dev. Depend on rndctl in cgd.
|
1.9 |
| 13-Aug-2004 |
mycroft | branches: 1.9.36; Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
1.8 |
| 24-Mar-2002 |
lukem | also check $rc_force != "" to determine if operation should occur
|
1.7 |
| 21-Mar-2002 |
lukem | Implement rc.conf(5) variable `` $swapoff ''. If set to yes, block-type swap partitions will be deleted upon shutdown. This can be useful if swapping onto a RAIDframe device, but may cause unnecessary delays during shutdown for the general case, so it's disabled by default. Should resolve [bin/14433] and [kern/14769].
|
1.6 |
| 13-Apr-2001 |
msaitoh | check no_swap
|
1.5 |
| 17-Jul-2000 |
lukem | use "load_rc_config swap" for swap1 and swap2
|
1.4 |
| 13-May-2000 |
lukem | branches: 1.4.4; Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
|
1.3 |
| 26-Apr-2000 |
thorpej | Make ccd and raidframe provide `disks', and make swap1 and fsck depend on `disks', rather than `ccd' and `raidframe'.
|
1.2 |
| 11-Mar-2000 |
veego | Add raidframe to the REQUIRE list. rcorder seems to get it right, but it is better to add it.
|
1.1 |
| 10-Mar-2000 |
lukem | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 10-Mar-2000 |
lukem | rc.d scripts derived from /etc/rc
|
1.4.4.2 |
| 30-Sep-2001 |
he | Pull up revision 1.6 (requested by msaitoh): Check for and obey no_swap.
|
1.4.4.1 |
| 09-Aug-2000 |
lukem | pull up the following approved by: thorpej
etc/rc.d/DAEMON 1.3 etc/rc.d/LOGIN 1.3 etc/rc.d/NETWORK 1.1 etc/rc.d/SERVERS 1.2 etc/rc.d/cron 1.4 etc/rc.d/dhclient 1.6 etc/rc.d/dmesg 1.4 etc/rc.d/inetd 1.5 etc/rc.d/lkm1 1.3 etc/rc.d/lkm2 1.3 etc/rc.d/lkm3 1.4 etc/rc.d/motd 1.3 etc/rc.d/mountcritlocal 1.3-1.4 etc/rc.d/mountcritremote 1.3 etc/rc.d/mountd 1.7 etc/rc.d/network 1.12 1.14 etc/rc.d/ntpdate 1.4 etc/rc.d/ppp 1.3-1.4 etc/rc.d/pwcheck 1.3 etc/rc.d/rpcbind 1.4 etc/rc.d/sshd 1.3-1.5 etc/rc.d/swap1 1.5 etc/rc.d/swap2 1.4 etc/rc.d/sysdb 1.3-1.4 etc/rc.d/syslogd 1.5-1.6 etc/rc.d/systemfs REMOVE etc/rc.d/virecover 1.3 etc/rc.d/wscons 1.4 etc/rc.d/xdm 1.5
summary:
* reword descriptions * add '# KEYWORD: shutdown' to some of these scripts so that only they get run at shutdown time. now, only scripts with the keyword `shutdown' will be run by /etc/rc.shutdown, which speeds up shutdown and makes it more robust * add new dummy dependancy `NETWORK' to be REQUIREd by services which need networking to be operational before starting, and use as appropriate. NETWORK depends upon network and dhclient. * move the guts of systemfs into mountcritlocal * replace the dependancy on systemfs with mountcritremote, and remove the former. * SERVERS now also depends upon ppp * move recreating /var/run/utmp from mountcritlocal (where /var/run is purged but /usr/bin/install is not available) to sysdb. problem noted by Matthias Drochner. * share the same load_rc_config between the lkm* scripts * network: Don't warn that $hostname isn't set if the hostname is already set. * network: reenable stop_cmd now that network doesn't get run at shutdown * add sshd startup script * use "load_rc_config swap" for swap1 and swap2 * syslog requires databases from sysdb which creates /var/run/utmp.
Should fix PRs: [install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]
|
1.9.36.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.12.16.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.12.14.1 |
| 20-Oct-2018 |
pgoyette | Sync with head
|