History log of /freebsd/sbin/reboot/reboot.c (Results 76 – 100 of 123)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1de372dc 26-Apr-2002 Wes Peters <wes@FreeBSD.org>

Add a -k option to reboot to specify the kernel to boot next time
around. If the kernel boots successfully, the record of this kernel
is erased, it is intended to be a one-shot option for testing
ke

Add a -k option to reboot to specify the kernel to boot next time
around. If the kernel boots successfully, the record of this kernel
is erased, it is intended to be a one-shot option for testing
kernels.

This could be improved by having the loader remove the record of
the next kernel to boot, it is currently removed in /etc/rc immediately
after disks are mounted r/w.

I'd like to MFC this before the 4.6 freeze unless there is violent
objection.

Reviewed by: Several on IRC
MFC after: 4 days

show more ...


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 8b032500 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Constify and set WARNS=2.

Submitted by: Mike Barcroft <mike@q9media.com>


# cafefe8c 25-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


# 6714dac4 24-May-2001 Nik Clayton <nik@FreeBSD.org>

Remove the "undocumented" comment in re lflag.


Revision tags: release/4.3.0_cvs, release/4.3.0
# 85ae580c 20-Mar-2001 Ian Dowse <iedowse@FreeBSD.org>

Reboot(8) normally waits 5 seconds after sending SIGTERMs to all
processes and then sends SIGKILLs. If a lot of processes are swapped
out, this delay may not be long enough, so processes such as an X

Reboot(8) normally waits 5 seconds after sending SIGTERMs to all
processes and then sends SIGKILLs. If a lot of processes are swapped
out, this delay may not be long enough, so processes such as an X
server may be killed before they have had time to clean up properly.

Make this delay more dynamic by waiting up to 60 seconds for swap
page-in activity to end. While I'm here, ANSIfy and remove a
`register' specifier.

show more ...


Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs
# 85c981cc 21-Nov-1999 John Polstra <jdp@FreeBSD.org>

Add a "-d" option which causes the system to generate a crash dump.


Revision tags: release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7
# 9448def9 15-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).


Revision tags: release/2.2.6, release/2.2.5_cvs
# 41e964cb 30-Jun-1997 Philippe Charnier <charnier@FreeBSD.org>

Remove lines inside #ifdef 0/#endif.


# 098166ed 16-Jun-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3) instead of local copy.


Revision tags: release/2.2.2_cvs
# 8d64695c 29-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs
# 47be7466 24-Aug-1996 Julian Elischer <julian@FreeBSD.org>

Add support to halt, to allow it to request that the power be turned off
(the RB_POWEROFF flag)


Revision tags: release/2.1.0_cvs, release/2.0.5_cvs, release/2.0
# 7f4b19d6 21-Aug-1994 David Greenman <dg@FreeBSD.org>

Install aliases "fasthalt" and "fastboot" for halt and boot respectively.
This is for "backwards compatibility". Documented these aliases in the
manual page.


Revision tags: release/1.1.5.1_cvs
# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.


# bf8959b0 13-Jan-2010 Ed Schouten <ed@FreeBSD.org>

Port the remaining apps in sbin/ to utmpx; only reboot(8).


# 9199c09a 06-Jan-2010 Warner Losh <imp@FreeBSD.org>

Merge from head at r201628.

# This hasn't been tested, and there are at least three bad commits
# that need to be backed out before the branch will be stable again.


# 88a8f792 29-Dec-2009 Ed Schouten <ed@FreeBSD.org>

Add forgotten `void' keyword. This function has no arguments.


# 14c69f21 05-Dec-2009 Ed Schouten <ed@FreeBSD.org>

Let init(8) and reboot(8) use utmpx to log wtmp entries.

logwtmp() gets called with the raw strings that are written to disk. For
regular user entries, this isn't too bad, but when booting/shutting

Let init(8) and reboot(8) use utmpx to log wtmp entries.

logwtmp() gets called with the raw strings that are written to disk. For
regular user entries, this isn't too bad, but when booting/shutting
down, the contents get rather cryptic.

Just call the standardized pututxline().

show more ...


Revision tags: release/8.0.0_cvs, release/8.0.0
# 874108ae 12-Nov-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

MFC @199204


# c574558f 10-Nov-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

More rational usage()


Revision tags: release/7.2.0_cvs, release/7.2.0
# 1829d5da 12-Mar-2009 Warner Losh <imp@FreeBSD.org>

Update the projects tree to a newer FreeBSD current.


# c09a6b1a 31-Jan-2009 Bjoern A. Zeeb <bz@FreeBSD.org>

Remove and unused variable.

Submitted by: Christoph Mallon christoph.mallon@gmx.de
MFC after: 2 weeks


Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0
# d8f70938 02-Aug-2006 Bruce M Simpson <bms@FreeBSD.org>

Block a variety of signals which may afffect reboot(8), before killing
init(8), to avoid losing a race to them and dying before being able
to call reboot(2).

PR: bin/64664
Submitted by: maxim
Obtai

Block a variety of signals which may afffect reboot(8), before killing
init(8), to avoid losing a race to them and dying before being able
to call reboot(2).

PR: bin/64664
Submitted by: maxim
Obtained from: NetBSD
MFC after: 30 days

show more ...


# b08d1553 02-Aug-2006 Bruce M Simpson <bms@FreeBSD.org>

Block SIGHUP before killing init(8), to avoid a race condition which may
kill the current process and hang the system when attempting reboot.

PR: bin/64664
Reviewed by: ssouhal, phk (historic)
MFC

Block SIGHUP before killing init(8), to avoid a race condition which may
kill the current process and hang the system when attempting reboot.

PR: bin/64664
Reviewed by: ssouhal, phk (historic)
MFC after: 30 days

show more ...


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# 3edf7a78 22-Mar-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Truncate nextboot.conf file on creation, so existing garbage will be removed.

Submitted by: Gary Allan <dragonfly@gallan.plus.com>
Obtained from: DragonFlyBSD
MFC after: 3 days


12345