xref: /netbsd-src/sbin/fastboot/fastboot.8 (revision bf07c8719af1d08be9fc3f88443184874359c06b)
1*bf07c871Sagc.\"	$NetBSD: fastboot.8,v 1.13 2003/08/07 10:04:15 agc Exp $
20114e805Scgd.\"
33c78ef33Smycroft.\" Copyright (c) 1983, 1991, 1993
43c78ef33Smycroft.\"	The Regents of the University of California.  All rights reserved.
561f28255Scgd.\"
661f28255Scgd.\" Redistribution and use in source and binary forms, with or without
761f28255Scgd.\" modification, are permitted provided that the following conditions
861f28255Scgd.\" are met:
961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright
1061f28255Scgd.\"    notice, this list of conditions and the following disclaimer.
1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
1261f28255Scgd.\"    notice, this list of conditions and the following disclaimer in the
1361f28255Scgd.\"    documentation and/or other materials provided with the distribution.
14*bf07c871Sagc.\" 3. Neither the name of the University nor the names of its contributors
1561f28255Scgd.\"    may be used to endorse or promote products derived from this software
1661f28255Scgd.\"    without specific prior written permission.
1761f28255Scgd.\"
1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2161f28255Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2861f28255Scgd.\" SUCH DAMAGE.
2961f28255Scgd.\"
300114e805Scgd.\"     @(#)fastboot.8	8.1 (Berkeley) 6/5/93
31346aa5ddScgd.\"
323c78ef33Smycroft.Dd June 5, 1993
3361f28255Scgd.Dt FASTBOOT 8
3473f545bbSwiz.Os
3561f28255Scgd.Sh NAME
3661f28255Scgd.Nm fastboot ,
3761f28255Scgd.Nm fasthalt
3861f28255Scgd.Nd "reboot/halt the system without checking the disks"
3961f28255Scgd.Sh SYNOPSIS
40f6df7799Slukem.Nm
4161f28255Scgd.Op Ar boot-options
4261f28255Scgd.Nm fasthalt
4361f28255Scgd.Op Ar halt-options
4461f28255Scgd.Sh DESCRIPTION
45f6df7799Slukem.Nm
4661f28255Scgdand
4761f28255Scgd.Nm fasthalt
483d7afc6dSfairare shell scripts which reboot or halt the system, and when next
493d7afc6dSfairstarted, the system will skip the normal the file systems checks.
503d7afc6dSfairThis is done by creating a file
5161f28255Scgd.Pa /fastboot ,
5261f28255Scgdthen invoking the
533d7afc6dSfair.Xr reboot 8
543d7afc6dSfairprogram.
553d7afc6dSfairThe system startup script,
5661f28255Scgd.Pa /etc/rc ,
573d7afc6dSfairlooks for this file and, if present, skips the normal invocation of
5861f28255Scgd.Xr fsck 8 .
5961f28255Scgd.Sh SEE ALSO
6061f28255Scgd.Xr halt 8 ,
61bb03964eSwiz.Xr rc 8 ,
62bb03964eSwiz.Xr reboot 8
6361f28255Scgd.Sh HISTORY
6461f28255ScgdThe
6561f28255Scgd.Nm
6661f28255Scgdcommand appeared in
6761f28255Scgd.Bx 4.2 .
68