summaryrefslogtreecommitdiffstats
path: root/sbin/reboot/reboot.8
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2016-01-06 09:56:06 +0000
committersmh <smh@FreeBSD.org>2016-01-06 09:56:06 +0000
commitc8d8dd1a4db073793cb96e0bf4c9ea87157b0e88 (patch)
treebbb1c52a0000543ac35999d6210e65cbf2d24c8f /sbin/reboot/reboot.8
parent7e2e60f9853dcfee41c71c1aaca3a4e171b35bea (diff)
downloadFreeBSD-src-c8d8dd1a4db073793cb96e0bf4c9ea87157b0e88.zip
FreeBSD-src-c8d8dd1a4db073793cb96e0bf4c9ea87157b0e88.tar.gz
MFC: r292266 & r292947
Add flag to disable inital reboot(8) userland sync Sponsored by: Multiplay
Diffstat (limited to 'sbin/reboot/reboot.8')
-rw-r--r--sbin/reboot/reboot.819
1 files changed, 15 insertions, 4 deletions
diff --git a/sbin/reboot/reboot.8 b/sbin/reboot/reboot.8
index 13d7098..84dd887 100644
--- a/sbin/reboot/reboot.8
+++ b/sbin/reboot/reboot.8
@@ -29,6 +29,7 @@
.\" $FreeBSD$
.\"
.Dd October 11, 2010
+.Dd Jan 06, 2016
.Dt REBOOT 8
.Os
.Sh NAME
@@ -39,16 +40,16 @@
.Nd stopping and restarting the system
.Sh SYNOPSIS
.Nm halt
-.Op Fl lnpq
+.Op Fl lNnpq
.Op Fl k Ar kernel
.Nm
-.Op Fl dlnpq
+.Op Fl dlNnpq
.Op Fl k Ar kernel
.Nm fasthalt
-.Op Fl lnpq
+.Op Fl lNnpq
.Op Fl k Ar kernel
.Nm fastboot
-.Op Fl dlnpq
+.Op Fl dlNnpq
.Op Fl k Ar kernel
.Sh DESCRIPTION
The
@@ -94,6 +95,16 @@ that call
or
.Nm halt
and log this themselves.
+.It Fl N
+The file system cache is not flushed during the initial process clean-up,
+however the kernel level
+.Xr reboot 2
+is still processed with a sync.
+This option can be useful for performing a
+.Dq best-effort
+reboot when devices might be unavailable.
+This can happen when devices have been disconnected, such as with
+.Xr iscsi 4 .
.It Fl n
The file system cache is not flushed.
This option should probably not be used.
OpenPOWER on IntegriCloud