332465 |
13-Apr-2018 |
rgrimes |
MFC: r332075
Exit with usage when extra arguments are on command line preventing mistakes such as "halt 0p" for "halt -p". Approved by: bde (mentor, implicit), phk (mentor,implicit) MFC after: 1 week |
307403 |
16-Oct-2016 |
sevan |
MFC r267667: use .Mt to mark up email addresses consistently (part1)
PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> |
300057 |
17-May-2016 |
garga |
MFC r299196:
Add missing parameters -N and -l to reroot and halt usage()
Approved by: bapt Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D6173 |
293744 |
12-Jan-2016 |
trasz |
MFC r290548:
Userspace part of reroot support. This makes it possible to change the root filesystem without full reboot, using "reboot -r". This can be used to to eg. boot from a temporary md_image preloaded by loader(8), setup an iSCSI session, and continue booting from rootfs mounted over iSCSI.
Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3693 |
293692 |
11-Jan-2016 |
trasz |
MFC r287396:
It's 2015, and some people are still trying to use fdisk and then go asking what debug flags to set for GEOM to make it work. Advice them to use gpart(8) instead.
Something similar should probably done with disklabel, but I need to rewrite the disklabel examples first.
Sponsored by: The FreeBSD Foundation |
293232 |
06-Jan-2016 |
smh |
MFC: r292266 & r292947
Add flag to disable inital reboot(8) userland sync
Sponsored by: Multiplay |
281577 |
16-Apr-2015 |
allanjude |
MFC: r280191: Document that nextboot(8) doesn't work as expected with ZFS
Approved by: eadler (mentor, implicit) Sponsored by: ScaleEngine Inc. |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
252492 |
01-Jul-2013 |
wblock |
Add a new gptboot(8) man page. Factor out the redundant information in gpart(8) and boot(8), adding references to gptboot(8) in both.
Reviewed by: jhb, ae, pjd, Paul Schenkeveld <bsdcan@psconsult.nl>, david_a_bright@dell.com (portions), gjb MFC after: 1 week
|
247359 |
26-Feb-2013 |
n_hibma |
Clarify that overriding the -h/-D flags through flags in device.hints only works for sio(4) but not for uart(4) which no longer has this flag.
|
231129 |
07-Feb-2012 |
emaste |
Add BSD copyright notice.
Approved by: gordon@
|
230812 |
31-Jan-2012 |
emaste |
Add -e to set arbitrary kernel environment variables.
Nextboot(8) can now set any combination of kernel name (-k), kernel options (-o), and environment strings (-e). As a result of this change -k also becomes optional.
Reviewed by: freebsd-current (Ian Lepore, pluknet@, jhb@)
|
229778 |
07-Jan-2012 |
uqs |
Spelling fixes for sbin/
|
228408 |
11-Dec-2011 |
ed |
Let reboot(8) use getprogname() to compare the program name.
While there, mark the global variable dohalt static, as reboot(8) only consists of a single C file.
|
220617 |
14-Apr-2011 |
pluknet |
Remove vestiges of disklabel(5).
Reviewed by: uqs MFC after: 5 days
|
213697 |
11-Oct-2010 |
ed |
Remove stale reference to wtmp(5).
Reported by: pluknet
|
212789 |
17-Sep-2010 |
avg |
nextboot: warn about limitations of /boot/nextboot.conf on ZFS
MFC after: 1 week
|
209703 |
04-Jul-2010 |
bcr |
Let boot(8) refer to the uart(4) serial driver, which is the replacement for the obsolete sio(4) driver.
PR: docs/144498 Submitted by: Bruce Cran (bruce at cran dot org dot uk) Approved by: marcel MFC after: 2 weeks
|
202756 |
21-Jan-2010 |
ed |
Remove stale references to utmp(5) and its corresponding filenames.
I removed utmp and its manpage, but not other manpages referring to it.
|
202195 |
13-Jan-2010 |
ed |
Port the remaining apps in sbin/ to utmpx; only reboot(8).
|
201182 |
29-Dec-2009 |
ed |
Add forgotten `void' keyword. This function has no arguments.
|
200161 |
05-Dec-2009 |
ed |
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().
|
199130 |
10-Nov-2009 |
des |
More rational usage()
|
198236 |
19-Oct-2009 |
ru |
Switch the default WARNS level for sbin/ to 6.
Submitted by: Ulrich Spörlein
|
187956 |
31-Jan-2009 |
bz |
Remove and unused variable.
Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks
|
171883 |
18-Aug-2007 |
danger |
- Sweep the boot(8) man page after addition of boot.config(5).
Reviewed by: keramida Approved by: re (kensmith)
|
164509 |
22-Nov-2006 |
jkoshy |
Cross-reference nextboot(8).
MFC after: 3 days
|
160916 |
02-Aug-2006 |
bms |
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
|
160914 |
02-Aug-2006 |
bms |
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
|
157847 |
18-Apr-2006 |
maxim |
o Describe what actually boot(8) -m mutes.
PR: docs/67893 Submitted by: Chris Pepper, Daniel Gerzo MFC after: 2 weeks
|
154498 |
18-Jan-2006 |
wes |
Revert previous change, "getopts" (with an 's') is a builtin in /bin/sh.
|
154431 |
16-Jan-2006 |
wes |
Remove dependency on getopts because it is on /usr and we want to use 'nextboot -D' in rc. Option parsing cribbed from vgrind.sh.
|
152568 |
18-Nov-2005 |
ru |
-mdoc sweep.
|
152544 |
17-Nov-2005 |
ru |
Do not install boot_i386.8 on all architectures.
|
151367 |
16-Oct-2005 |
sobomax |
Add new option `q', which makes second stage loader quiet unless autoboot is disabled or fails.
MFC after: 1 week
|
151202 |
10-Oct-2005 |
yar |
Replace "/etc/make.conf" with references to make.conf(5) where applicable. The main reason for this change is that the location of make.conf is not constant and can be modified via __MAKE_CONF. This change also improves hyper-text linkage in our manpages.
MFC after: 2 weeks
|
150662 |
28-Sep-2005 |
ru |
Simplified markup.
|
149212 |
18-Aug-2005 |
iedowse |
Add the ability to specify the boot2 serial console speed in /boot.config or on the "boot:" prompt line via a "-S<speed>" flag, e.g. "-h -S19200". This adds about 50 bytes to the size of boot2 and required a few other small changes to limit the size impact. This changes only affects boot2; there are further loader changes to follow.
|
148475 |
28-Jul-2005 |
keramida |
Spell "partition" correctly.
PR: docs/84198 Submitted by: Gary W. Swearingen MFC after: 3 days
|
143948 |
21-Mar-2005 |
pjd |
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
|
141611 |
10-Feb-2005 |
ru |
Sync program's usage() with manpage's SYNOPSIS.
|
140795 |
25-Jan-2005 |
delphij |
Code style tweaks: Use static and const where suitable.
|
140794 |
25-Jan-2005 |
delphij |
The kernel specified in main() of reboot(8) will be initialized with -k option and never be used without kflag. This confuses gcc because we set "kflag" at the same time with "kernel", but the logic is not that apparant for gcc.
Since we can initialize "kernel" to NULL then know if "k" option is set through determining whether it is still NULL, don't try to have gcc to guess why we are connecting "kflag" with "kernel" and use "kernel" directly in place of kflag.
Bump WARNS?= from 2 to 6
|
140415 |
18-Jan-2005 |
ru |
Sort sections.
|
139987 |
10-Jan-2005 |
ru |
Scheduled mdoc(7) sweep.
|
135962 |
30-Sep-2004 |
ru |
Fixed desctiptions of some options:
- Document better what the -C option means. - The -c option is currently a no-op. - The -D and -h options do not allow switching between single/dual console modes and internal/video consoles. (This used to be true for the old biosdisk boot code, but now they just force the multiple consoles mode and serial console, respectively.)
|
135959 |
30-Sep-2004 |
ru |
FreeBSD has full support for multiple consoles since 2001.
|
135618 |
23-Sep-2004 |
brooks |
Sort the SEE ALSO list correctly. Update the document date.
Reported by: ru
|
135593 |
23-Sep-2004 |
brooks |
Refrence bsdlabel.8 and bsdlabel.5 rather then the obsolete disklabel.8 and disklabel.5. Refrencing bsdlabel.5 is somewhat bogus as it is not connected to the build and is mostly unwritten at this point.
Reported by: Matthias Andree <matthias.andree at web.de> PR: docs/72020
|
132367 |
18-Jul-2004 |
silby |
Clarify boot.8 (i386 version) a bit, so that people know where boot.config needs to reside. Also change /kernel to /boot/loader, as that is the apparent default now. This man page probably requires more updates.
|
131488 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
128073 |
09-Apr-2004 |
markm |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999.
Approved by: core, imp
|
127285 |
22-Mar-2004 |
obrien |
Share the i386 boot manual page.
|
114589 |
03-May-2003 |
obrien |
Use __FBSDID() to quiet GCC 3.3 warnings.
|
112991 |
02-Apr-2003 |
rwatson |
When kill(-1) returns ESRCH, it could be because the current process doesn't have a process group, which can occur if you're working with a custom init that doesn't set up a full tty context. Rather than refusing to reboot, ignore ESRCH from the kill attempt in reboot(8).
|
109184 |
13-Jan-2003 |
trhodes |
Add the /boot prefix. I forgot this when updating the location.
Neglected by: trhodes
|
109180 |
13-Jan-2003 |
trhodes |
Update the kernel location in FILES.
PR: 47015
|
108317 |
27-Dec-2002 |
schweikh |
english(4) police.
|
107788 |
12-Dec-2002 |
ru |
Uniformly refer to a file system as "file system".
Approved by: re
|
107776 |
12-Dec-2002 |
ru |
mdoc(7) police: overhaul.
|
107257 |
26-Nov-2002 |
ru |
mdoc(7) police: Nits.
Approved by: re
|
106553 |
07-Nov-2002 |
bmah |
Fix one misspelling and two punctuation nits.
|
106417 |
04-Nov-2002 |
gordon |
Hook the new nextboot(8) manpage up to the build.
|
106415 |
04-Nov-2002 |
gordon |
Add a nextboot manual page.
Spotted by: brandt@fokus.gmd.de
|
104633 |
07-Oct-2002 |
thomas |
Document behaviour change in reboot(8) introduced in reboot.c rev. 1.17: when using '-p' with reboot, and the power down action failds, reboot the system normally. The behaviour of 'halt -p' and of shutdown(8) is unchanged.
Approved by: roberto
|
104572 |
06-Oct-2002 |
thomas |
Set only the RB_POWEROFF flag (not the RB_HALT flag) when '-p' is used on the reboot(8) command line.
This is intended for use when you want to attempt a power down action, but you want the system to reboot (not halt) if the power down action fails.
This is typically useful when the power-off action performed by the kernel consists in signalling an uninterrupted power supply that it should shut down its inverter if mains power has not returned.
The behaviour of shutdown(8) and init(8) is not modified; only the behaviour of invoking 'reboot -p' manually is modified, and then only in the case when a power-down action fails.
Sounded reasonable to: phk Approved by: roberto (mentor)
|
102231 |
21-Aug-2002 |
trhodes |
s/filesystem/file system/g as discussed on -developers
|
99503 |
06-Jul-2002 |
charnier |
The .Nm utility.
|
97476 |
29-May-2002 |
ru |
mdoc(7) police: nits.
|
97428 |
28-May-2002 |
gordon |
Correct the file that reboot -k creates so that it works with the new nextboot functionality.
Reviewed by: jake (mentor)
|
97203 |
24-May-2002 |
gordon |
Add a nextboot script to make it easier to control the loader nextboot support. Also, hook it up to the build.
Approved by: jake (mentor)
|
96707 |
16-May-2002 |
trhodes |
more file system > filesystem
|
95531 |
26-Apr-2002 |
wes |
Rename the file used to specify the nextboot to make it clear that this is a loader configuration file and can be used for more than just a kernel name.
Submitted by: Gordon Tetlow <gordont@gnf.org>
|
95485 |
26-Apr-2002 |
wes |
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
|
93132 |
25-Mar-2002 |
pb |
Add forgotten flag in flag lists.
PR: docs/36267 (partial) Submitted by: Thomas Quinot <thomas.cuivre.fr.eu.org>
|
93044 |
23-Mar-2002 |
pb |
Add option -n to i386 boot2 to disallow boot interruption by keypress.
PR: i386/36016 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org> Reviewed by: rnordier MFC after: 1 week
|
92241 |
13-Mar-2002 |
rnordier |
Clarify the cylinder > 1023 issue, now that EDD support is automatic. Also drop a note about undocumented features that was intended to cover the since-documented slice-selection syntax.
|
92226 |
13-Mar-2002 |
ru |
Document the "slice" syntax.
Prodded by: ambrisko
|
92225 |
13-Mar-2002 |
ru |
Implement -m and -p loader(8) "boot" command options in boot2. (This is more useful for 4.x where boot blocks can still load kernels, modulo the PR kern/17422.)
|
87884 |
14-Dec-2001 |
ru |
mdoc(7) police: add -p to the synopsis line as well.
|
87620 |
10-Dec-2001 |
guido |
Add new boot flag to i386 boot: -p. This flag adds a pausing utility. When ran with -p, during the kernel probing phase, the kernel will pause after each line of output. This pausing can be ended with the '.' key, and is automatically suspended when entering ddb.
This flag comes in handy at systems without a serial port that either hang during booting or reser. Reviewed by: (partly by jlemon) MFC after: 1 week
|
87325 |
04-Dec-2001 |
obrien |
Default to WARNS=2. Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
83369 |
12-Sep-2001 |
ru |
Use ${MACHINE}, it works with cross-builds.
|
81622 |
14-Aug-2001 |
ru |
mdoc(7) police: s/BSD/.Bx/ where appropriate.
|
81251 |
07-Aug-2001 |
ru |
mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
|
79754 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79748 |
15-Jul-2001 |
dd |
Constify and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
|
78732 |
24-Jun-2001 |
dd |
Include missing header files which define functions for which gcc has builtins (e.g., exit, strcmp).
|
78686 |
24-Jun-2001 |
dd |
Remove duplicate words.
|
77122 |
24-May-2001 |
nik |
Remove the "undocumented" comment in re lflag.
|
77121 |
24-May-2001 |
nik |
Document the -l option.
PR: docs/27440 Submitted by: Flix-Antoine Paradis <reel@sympatico.ca>
|
75670 |
18-Apr-2001 |
ru |
mdoc(7) police: normalize .Nd.
|
74815 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74525 |
20-Mar-2001 |
iedowse |
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.
|
71895 |
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
70152 |
18-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
68960 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
60501 |
13-May-2000 |
hoek |
.Xr boot0cfg 8 ,
PR: misc/18267 (Usov Alexander <[3]usov@ups.kiev.ua>)
|
57716 |
03-Mar-2000 |
jkoshy |
The new boot code uses `ad' for ATA disks, not `wd'. Correct the manual page.
|
57668 |
01-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
55766 |
10-Jan-2000 |
phantom |
Add `.Nm fastboot' and `.Nm fasthalt' to NAME section.
|
53523 |
21-Nov-1999 |
jdp |
Add a "-d" option which causes the system to generate a crash dump.
|
52253 |
15-Oct-1999 |
phantom |
Sync with reallity (USERCONFIG_BOOT option was removed long time ago) mdoc(7)'fy
|
50476 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
48629 |
06-Jul-1999 |
yokota |
Remove reference to the obsoleted COMCONSOLE option.
Pointed out by: Crist J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
|
48256 |
26-Jun-1999 |
rnordier |
Document -P (keyboard probe) assumptions.
|
48128 |
23-Jun-1999 |
ru |
Clarify some details.
|
47392 |
22-May-1999 |
rnordier |
Include a table of disk error codes and a note about the cylinder > 1023 issue.
|
44800 |
16-Mar-1999 |
rnordier |
Add cross-reference to loader man page, plus various minor improvements.
|
42828 |
19-Jan-1999 |
rnordier |
Make some further revisions to the boot documentation.
|
42348 |
06-Jan-1999 |
rnordier |
Make a start on revising the boot documentation.
|
39588 |
23-Sep-1998 |
yokota |
Remove the reference to the -b option; it's gone.
|
37674 |
15-Jul-1998 |
charnier |
Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).
|
37529 |
09-Jul-1998 |
phk |
The '-h' option cannot toggle the kernel from a serial console if the kernel was built with COMCONSOLE
PR: 7202 Reviewed by: phk Submitted by: Greg A. Woods <woods@zeus.leitch.com>
|
35469 |
26-Apr-1998 |
phk |
say a few words about the -b option.
Reviewed by: Bill Trost <trost@cloud.rain.com>
|
34795 |
23-Mar-1998 |
danny |
PR: 6104 Submitted by: Anatoly Vorobey <mellon@pobox.com> Fix typo
|
33199 |
10-Feb-1998 |
msmith |
Document the enhanced behaviour of the '-c' flag.
|
27201 |
05-Jul-1997 |
bde |
Document recent changes (config files and -D...) and not so recent changes (bios drive number...).
Submitted by: mostly by yokota
|
27107 |
30-Jun-1997 |
charnier |
Remove lines inside #ifdef 0/#endif.
|
26676 |
16-Jun-1997 |
charnier |
Use err(3) instead of local copy.
|
24359 |
29-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
22990 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
21635 |
13-Jan-1997 |
wosch |
Sort cross references.
|
17801 |
24-Aug-1996 |
julian |
Add support to halt, to allow it to request that the power be turned off (the RB_POWEROFF flag)
|
14044 |
12-Feb-1996 |
mpp |
Removed the boot_*(8) man pages for machines we don't support: hp300, sparc, tahoe, and vax
|
14038 |
11-Feb-1996 |
mpp |
Correct a bunch of man page cross references and generally try and silence "manck".
ncurses, rpc, and some of the gnu stuff are still a big mess, however.
|
13720 |
29-Jan-1996 |
mpp |
Fix a bunch of spelling errors.
|
11307 |
07-Oct-1995 |
joerg |
Totally revamp the man page, update to the state of affairs.
Make a link from boot_${ARCH}.8 to boot.8, so people will get what they expect when asking "man boot".
I think David will lynch me when i'm requesting this to go into 2.1... :-)
|
2171 |
21-Aug-1994 |
dg |
Install aliases "fasthalt" and "fastboot" for halt and boot respectively. This is for "backwards compatibility". Documented these aliases in the manual page.
|
1856 |
05-Aug-1994 |
dg |
Converted 'vmunix' to 'kernel'.
|
1855 |
05-Aug-1994 |
wollman |
Convert to our man installation style. Also fixed long-standing bug in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
|
1608 |
28-May-1994 |
rgrimes |
Disable afterinstall: for manual pages until the manual page fix patch comes in.
|
1559 |
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1558, which included commits to RCS files with non-trunk default branches.
|