summaryrefslogtreecommitdiffstats
path: root/sbin/reboot
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-04-162-3/+2
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Include -a in the nextboot(8) usage string.markj2016-04-142-3/+2
| | | | | | | | X-MFC-With: r297772
* | MFHgjb2016-04-112-5/+30
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * nextboot(8): add a -a option for appending to a configuration.markj2016-04-102-5/+30
| | | | | | | | | | | | | | | | By default, a nextboot invocation will clobber any existing nextboot configuration. MFC after: 2 weeks Relnotes: yes
* | MFHgjb2016-03-021-1/+2
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * kenv(8) -> kenv(1)trasz2016-02-291-1/+2
| | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* | Explicitly add more files to the 'runtime' package.gjb2016-02-091-0/+1
|/ | | | Sponsored by: The FreeBSD Foundation
* Fix use of uninitialised Nflagsmh2015-12-301-1/+1
| | | | | | | | | | Initialise Nflag to 0 preventing use of uninitialised value. Reported by: uqs MFC after: 1 week X-MFC-With: r292266 Sponsored by: Multiplay Differential Revision: https://reviews.freebsd.org/D4449
* Add flag to disable inital reboot(8) userland syncsmh2015-12-152-7/+23
| | | | | | | | | | | | | | | 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
* Userspace part of reroot support. This makes it possible to changetrasz2015-11-082-3/+35
| | | | | | | | | | | | | 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
* It's 2015, and some people are still trying to use fdisk and thentrasz2015-09-021-1/+1
| | | | | | | | | | | | | 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. Reviewed by: wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3315
* Fix a few mandoc warnings.brueffer2015-08-121-1/+0
| | | | MFC after: 1 week
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-1/+7
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-2/+8
| |\
| * \ Merge head from 7/28sjg2014-08-192-2/+1
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2013-09-051-1/+2
| |\ \ \
| * \ \ \ sync from headsjg2013-04-121-4/+3
| |\ \ \ \
| * | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | |
| * | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | |
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | Document that nextboot(8) doesn't work as expected with ZFSallanjude2015-03-171-1/+7
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2087 Submitted by: feld (request) Reviewed by: feld Approved by: bcr (mentor) Sponsored by: ScaleEngine Inc.
* | | | | Reference uefi(8) from i386 boot(8)emaste2014-11-141-2/+8
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | Suggested by trasz. Differential Revision: https://reviews.freebsd.org/D1162
* | | | use .Mt to mark up email addresses consistently (part1)bapt2014-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | | Minor mdoc improvements.joel2014-06-061-1/+0
| |_|/ |/| |
* | | Add a new gptboot(8) man page. Factor out the redundant informationwblock2013-07-011-1/+2
| |/ |/| | | | | | | | | | | 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
* | Clarify that overriding the -h/-D flags through flags in device.hintsn_hibma2013-02-261-4/+3
|/ | | | only works for sio(4) but not for uart(4) which no longer has this flag.
* Add BSD copyright notice.emaste2012-02-071-2/+22
| | | | Approved by: gordon@
* Add -e to set arbitrary kernel environment variables.emaste2012-01-312-10/+44
| | | | | | | | 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@)
* Spelling fixes for sbin/uqs2012-01-071-1/+1
|
* Let reboot(8) use getprogname() to compare the program name.ed2011-12-111-3/+3
| | | | | While there, mark the global variable dohalt static, as reboot(8) only consists of a single C file.
* Remove vestiges of disklabel(5).pluknet2011-04-141-3/+1
| | | | | Reviewed by: uqs MFC after: 5 days
* Remove stale reference to wtmp(5).ed2010-10-111-2/+2
| | | | Reported by: pluknet
* nextboot: warn about limitations of /boot/nextboot.conf on ZFSavg2010-09-171-0/+8
| | | | MFC after: 1 week
* Let boot(8) refer to the uart(4) serial driver, which is the replacementbcr2010-07-041-3/+3
| | | | | | | | | 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
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-211-3/+2
| | | | I removed utmp and its manpage, but not other manpages referring to it.
* Port the remaining apps in sbin/ to utmpx; only reboot(8).ed2010-01-132-4/+1
|
* Add forgotten `void' keyword. This function has no arguments.ed2009-12-291-1/+1
|
* Let init(8) and reboot(8) use utmpx to log wtmp entries.ed2009-12-052-4/+9
| | | | | | | | 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().
* More rational usage()des2009-11-101-3/+5
|
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-1/+0
| | | | Submitted by: Ulrich Spörlein
* Remove and unused variable.bz2009-01-311-2/+1
| | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks
* - Sweep the boot(8) man page after addition of boot.config(5).danger2007-08-181-15/+8
| | | | | Reviewed by: keramida Approved by: re (kensmith)
* Cross-reference nextboot(8).jkoshy2006-11-222-0/+2
| | | | MFC after: 3 days
* Block a variety of signals which may afffect reboot(8), before killingbms2006-08-021-2/+15
| | | | | | | | | | 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
* Block SIGHUP before killing init(8), to avoid a race condition which maybms2006-08-021-3/+3
| | | | | | | | kill the current process and hang the system when attempting reboot. PR: bin/64664 Reviewed by: ssouhal, phk (historic) MFC after: 30 days
* o Describe what actually boot(8) -m mutes.maxim2006-04-181-1/+2
| | | | | | PR: docs/67893 Submitted by: Chris Pepper, Daniel Gerzo MFC after: 2 weeks
OpenPOWER on IntegriCloud