Up to [cvs.netbsd.org] / src / etc / rc.d
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 17 23:32:07 2010 UTC (2 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
HEAD
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
Exclude root, since that is done in fsck_root.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 10 20:02:21 2009 UTC (2 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.9: +2 -25
lines
Diff to previous 1.9 (colored)
1. centralize the fsck error handling 2. don't check if root is on nfs 3. reboot -n if root was modified as the manual page suggests
Revision 1.7.12.1 / (download) - annotate - [select for diffs], Thu Apr 3 13:54:12 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.7: +31 -35
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
Sync with HEAD.
Revision 1.7.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:42 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.7: +31 -35
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
sync with head.
Revision 1.7.4.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:23:49 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.7: +31 -35
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
sync with HEAD
Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 2 21:31:30 2008 UTC (4 years, 2 months ago) by tron
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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,
mjf-devfs2-base2,
mjf-devfs2-base,
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,
matt-armv6-nbase,
keiichi-mipv6-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Print out a message explaining why the system is rebooting if the root filesystem is modified by fsck(8).
Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 24 01:05:35 2008 UTC (4 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.7: +31 -35
lines
Diff to previous 1.7 (colored)
cleanup fsck error handling: 1. explain what each error means 2. remove 130 (128 + 2) which was presumably there because fsck_msdos did not handle SIGINT properly
Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 6 14:20:17 2007 UTC (5 years, 1 month ago) by apb
Branch: MAIN
CVS Tags: mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: mjf-devfs2,
matt-armv6,
keiichi-mipv6
Changes since 1.6: +1 -12
lines
Diff to previous 1.6 (colored)
* Add a stop_boot() function in rc.subr, to terminate a multi-user boot by killing the parent process. The parent's PID is saved in $RC_PID. * In all rc.d/* scripts that previously tried to stop the boot, replace in-line code with "stop_boot". * Document this. This should fix PR 29822.
Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sun Oct 8 11:24:44 2006 UTC (5 years, 7 months ago) by bouyer
Branch: netbsd-2
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
Pull up following revision(s) (requested by riz in ticket #10704): etc/rc.d/fsck: revision 1.6 Trap SIGINT so that if fsck is interrupted by ^C, we drop into single-user mode. Fixes misc/29822 from der Mouse, fix from Arnaud Lacombe with comment rework by me.
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sat Oct 7 22:03:06 2006 UTC (5 years, 7 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-1-RELEASE,
netbsd-3-1
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
Pull up following revision(s) (requested by riz in ticket #1542): etc/rc.d/fsck: revision 1.6 Trap SIGINT so that if fsck is interrupted by ^C, we drop into single-user mode. Fixes misc/29822 from der Mouse, fix from Arnaud Lacombe with comment rework by me.
Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 7 04:11:23 2006 UTC (5 years, 7 months ago) by riz
Branch: MAIN
CVS Tags: 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
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
Trap SIGINT so that if fsck is interrupted by ^C, we drop into single-user mode. Fixes misc/29822 from der Mouse, fix from Arnaud Lacombe with comment rework by me.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 13 18:08:03 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
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,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: netbsd-3
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
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
Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Oct 27 04:42:44 2003 UTC (8 years, 7 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored) next main 1.3 (colored)
Pullup revs 1.3-1.4 (requested by martti in ticket #1543) Allow custom fsck options via fsck_flags.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 20 15:02:15 2003 UTC (8 years, 7 months ago) by christos
Branch: MAIN
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-base,
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-0
Branch point for: netbsd-2
Changes since 1.3: +1 -6
lines
Diff to previous 1.3 (colored)
set fsck_flags=-p in /etc/defaults/rc.conf instead of checking if it is empty in /etc/rc.d/fsck. From Bernd Ernesti.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 15 17:38:04 2003 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.2: +7 -2
lines
Diff to previous 1.2 (colored)
Allow overrides via fsck_flags
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 18 06:42:35 2001 UTC (10 years, 11 months ago) by lukem
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-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
fvdl_fs64_base
Branch point for: netbsd-1-6
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
Now that "fsck -p" skips file systems that are mounted read-write, always perform the disk check (unless /fastboot exists). Previously this would only occur when booting directly to multi-user, so the fsck wouldn't happen after a single user boot going into multi-user.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Aug 23 12:32:17 2000 UTC (11 years, 9 months ago) by lukem
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
Changes since 1.1.2.1: +68 -0
lines
Diff to previous 1.1.2.1 (colored) next main 1.2 (colored)
pull up the following:
etc/rc.d/Makefile 1.12
etc/rc.d/fsck 1.1
etc/rc.d/fsck.sh REMOVE
replace fsck.sh with fsck (using kill -TERM $$ to stop autoboot).
approved: thorpej
Revision 1.1.2.1, Mon Aug 21 23:38:07 2000 UTC (11 years, 9 months ago) by lukem
Branch: netbsd-1-5
Changes since 1.1: +0 -68
lines
FILE REMOVED
file fsck was added on branch netbsd-1-5 on 2000-08-23 12:32:17 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 21 23:38:07 2000 UTC (11 years, 9 months ago) by lukem
Branch: MAIN
Branch point for: netbsd-1-5
convert fsck.sh -> fsck (using kill -TERM $$ to stop autoboot).