aboutsummaryrefslogtreecommitdiff
path: root/sbin/reboot/reboot.8
Commit message (Collapse)AuthorAgeFilesLines
* man filesystems: fix xrefs after move to section 4Alexander Ziaee2024-05-161-1/+1
| | | | | Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
* reboot: Implement -o to set kernel options for next bootWarner Losh2024-02-121-0/+7
| | | | | | Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D43829
* reboot: Implement -e from nextbootWarner Losh2024-02-121-0/+19
| | | | | | | | Implement -e foo=bar to add loader environment variables to nextboot.conf. bar is enclosed in quotes if it isn't already. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D43827
* reboot: Implement -D from nextbootWarner Losh2024-02-121-4/+8
| | | | | | | | Implement -D from nextboot.sh which deletes the nextboot.conf file and exists. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D43822
* reboot: Don't reboot if the next kernel isn't thereWarner Losh2024-02-121-14/+19
| | | | | | | | | | reboot -k garbage won't boot garbage unless /boot/garbage/kernel is there. Refuse to reboot if it is missing, though allow -f to force it for special-use cases. This is in keeping with nextboot.sh. Sponsored by: Netflix Reviewed by: kevans, kib, markj, emaste Differential Revision: https://reviews.freebsd.org/D43802
* sbin: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Flesh out the reason for the need for tmpfs a little.Warner Losh2017-12-201-1/+4
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=327027
* Save others some forehead damange by noting that -r require tmpfs.Brad Davis2017-12-201-1/+4
| | | | | | | Reviewed by: bapt Notes: svn path=/head/; revision=327025
* Add power cycle support to reboot/halt as -c.Warner Losh2017-10-251-2/+17
| | | | | | | | | | | When -c is specified, the system will be power cycled if the underlying hardware supports it. Otherwise the system will be halted or rebooted depending on which command was used. Sponsored by: Netflix Notes: svn path=/head/; revision=324986
* Document how to use reroot with NFS.Edward Tomasz Napierala2017-03-191-1/+8
| | | | | | | | MFC after: 2 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=315560
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* sbin/reboot/reboot.8: Amend HISTORYAllan Jude2016-09-161-2/+2
| | | | | | | | | | | | | A standalone reboot utility showed up in 4.0BSD, in AT&T UNIX init has a case for reboot and is present in the version shipped with V5 either way, current entry is incorrect. PR: 212548 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Notes: svn path=/head/; revision=305858
* kenv(8) -> kenv(1)Edward Tomasz Napierala2016-02-291-1/+2
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=296203
* Add flag to disable inital reboot(8) userland syncSteven Hartland2015-12-151-5/+15
| | | | | | | | | | | | | | | | | | Add -N flag to reboot(8) which bypasses the userland sync(2) during reboot(8) while still allow the kernel sync during the reboot(2) syscall to occur. An example use of this is when rebooting with disconnected iSCSI sessions which would otherwise cause the reboot to hang on BIOs that will never complete. Reviewed by: bjk MFC after: 2 weeks Sponsored by: Multiplay Differential Revision: https://reviews.freebsd.org/D4449 Notes: svn path=/head/; revision=292266
* Userspace part of reroot support. This makes it possible to changeEdward Tomasz Napierala2015-11-081-2/+16
| | | | | | | | | | | | | | | | 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. Reviewed by: kib@, bapt@ MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3693 Notes: svn path=/head/; revision=290548
* Remove stale reference to wtmp(5).Ed Schouten2010-10-111-2/+2
| | | | | | | Reported by: pluknet Notes: svn path=/head/; revision=213697
* Remove stale references to utmp(5) and its corresponding filenames.Ed Schouten2010-01-211-3/+2
| | | | | | | I removed utmp and its manpage, but not other manpages referring to it. Notes: svn path=/head/; revision=202756
* Cross-reference nextboot(8).Joseph Koshy2006-11-221-0/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=164509
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-101-10/+10
| | | | Notes: svn path=/head/; revision=141611
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-091-4/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* mdoc(7) police: Nits.Ruslan Ermilov2002-11-261-2/+2
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107257
* Document behaviour change in reboot(8) introduced in reboot.c rev. 1.17:Thomas Quinot2002-10-071-7/+8
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=104633
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-211-3/+3
| | | | Notes: svn path=/head/; revision=102231
* The .Nm utility.Philippe Charnier2002-07-061-1/+1
| | | | Notes: svn path=/head/; revision=99503
* mdoc(7) police: nits.Ruslan Ermilov2002-05-291-2/+4
| | | | Notes: svn path=/head/; revision=97476
* more file system > filesystemTom Rhodes2002-05-161-3/+3
| | | | Notes: svn path=/head/; revision=96707
* Add a -k option to reboot to specify the kernel to boot next timeWes Peters2002-04-261-0/+14
| | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=95485
* Remove whitespace at EOL.Dima Dorfman2001-07-151-4/+4
| | | | Notes: svn path=/head/; revision=79754
* Document the -l option.Nik Clayton2001-05-241-4/+15
| | | | | | | | PR: docs/27440 Submitted by: Flix-Antoine Paradis <reel@sympatico.ca> Notes: svn path=/head/; revision=77121
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57668
* Add `.Nm fastboot' and `.Nm fasthalt' to NAME section.Alexey Zelkin2000-01-101-3/+4
| | | | Notes: svn path=/head/; revision=55766
* Add a "-d" option which causes the system to generate a crash dump.John Polstra1999-11-211-2/+9
| | | | Notes: svn path=/head/; revision=53523
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Clarify some details.Ruslan Ermilov1999-06-231-8/+15
| | | | Notes: svn path=/head/; revision=48128
* Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).Philippe Charnier1998-07-151-17/+10
| | | | Notes: svn path=/head/; revision=37674
* Add support to halt, to allow it to request that the power be turned offJulian Elischer1996-08-241-4/+12
| | | | | | | (the RB_POWEROFF flag) Notes: svn path=/head/; revision=17801
* Correct a bunch of man page cross references and generallyMike Pritchard1996-02-111-2/+2
| | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Notes: svn path=/head/; revision=14038
* Install aliases "fasthalt" and "fastboot" for halt and boot respectively.David Greenman1994-08-211-0/+14
| | | | | | | | This is for "backwards compatibility". Documented these aliases in the manual page. Notes: svn path=/head/; revision=2171
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+88
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558