Deleted Added
full compact
reboot.8 (293232) reboot.8 (293744)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)reboot.8 8.1 (Berkeley) 6/9/93
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)reboot.8 8.1 (Berkeley) 6/9/93
29.\" $FreeBSD: stable/10/sbin/reboot/reboot.8 293232 2016-01-06 09:56:06Z smh $
29.\" $FreeBSD: stable/10/sbin/reboot/reboot.8 293744 2016-01-12 10:14:57Z trasz $
30.\"
30.\"
31.Dd October 11, 2010
31.Dd May 22, 2015
32.Dd Jan 06, 2016
33.Dt REBOOT 8
34.Os
35.Sh NAME
36.Nm reboot ,
37.Nm halt ,
38.Nm fastboot ,
39.Nm fasthalt
40.Nd stopping and restarting the system
41.Sh SYNOPSIS
42.Nm halt
43.Op Fl lNnpq
44.Op Fl k Ar kernel
45.Nm
32.Dd Jan 06, 2016
33.Dt REBOOT 8
34.Os
35.Sh NAME
36.Nm reboot ,
37.Nm halt ,
38.Nm fastboot ,
39.Nm fasthalt
40.Nd stopping and restarting the system
41.Sh SYNOPSIS
42.Nm halt
43.Op Fl lNnpq
44.Op Fl k Ar kernel
45.Nm
46.Op Fl dlNnpq
46.Op Fl dlNnpqr
47.Op Fl k Ar kernel
48.Nm fasthalt
49.Op Fl lNnpq
50.Op Fl k Ar kernel
51.Nm fastboot
52.Op Fl dlNnpq
53.Op Fl k Ar kernel
54.Sh DESCRIPTION

--- 62 unchanged lines hidden (view full) ---

117.Nm
118was called.
119.It Fl q
120The system is halted or restarted quickly and ungracefully, and only
121the flushing of the file system cache is performed (if the
122.Fl n
123option is not specified).
124This option should probably not be used.
47.Op Fl k Ar kernel
48.Nm fasthalt
49.Op Fl lNnpq
50.Op Fl k Ar kernel
51.Nm fastboot
52.Op Fl dlNnpq
53.Op Fl k Ar kernel
54.Sh DESCRIPTION

--- 62 unchanged lines hidden (view full) ---

117.Nm
118was called.
119.It Fl q
120The system is halted or restarted quickly and ungracefully, and only
121the flushing of the file system cache is performed (if the
122.Fl n
123option is not specified).
124This option should probably not be used.
125.It Fl r
126The system kills all processes, unmounts all filesystems, mounts the new
127root filesystem, and begins the usual startup sequence.
128After changing vfs.root.mountfrom with
129.Xr kenv 8 ,
130.Nm Fl r
131can be used to change the root filesystem while preserving kernel state.
125.El
126.Pp
127The
128.Nm fasthalt
129and
130.Nm fastboot
131utilities are nothing more than aliases for the
132.Nm halt
133and
134.Nm
135utilities.
136.Pp
137Normally, the
138.Xr shutdown 8
139utility is used when the system needs to be halted or restarted, giving
140users advance warning of their impending doom and cleanly terminating
141specific programs.
132.El
133.Pp
134The
135.Nm fasthalt
136and
137.Nm fastboot
138utilities are nothing more than aliases for the
139.Nm halt
140and
141.Nm
142utilities.
143.Pp
144Normally, the
145.Xr shutdown 8
146utility is used when the system needs to be halted or restarted, giving
147users advance warning of their impending doom and cleanly terminating
148specific programs.
149.Sh EXAMPLES
150Replace current root filesystem with UFS mounted from
151.Pa /dev/ada0s1a :
152.Bd -literal -offset indent
153kenv vfs.root.mountfrom=ufs:/dev/ada0s1a
154reboot -r
155.Ed
142.Sh SEE ALSO
143.Xr getutxent 3 ,
144.Xr boot 8 ,
145.Xr dumpon 8 ,
146.Xr nextboot 8 ,
147.Xr savecore 8 ,
148.Xr shutdown 8 ,
149.Xr sync 8
150.Sh HISTORY
151A
152.Nm
153utility appeared in
154.At v6 .
156.Sh SEE ALSO
157.Xr getutxent 3 ,
158.Xr boot 8 ,
159.Xr dumpon 8 ,
160.Xr nextboot 8 ,
161.Xr savecore 8 ,
162.Xr shutdown 8 ,
163.Xr sync 8
164.Sh HISTORY
165A
166.Nm
167utility appeared in
168.At v6 .