From e8f03f143e8eed106ef5e64197b2a4ed16c842b6 Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 29 Jan 2004 18:12:27 +0000 Subject: Add a very basic manpage. --- sbin/sunlabel/Makefile | 2 +- sbin/sunlabel/sunlabel.8 | 70 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 sbin/sunlabel/sunlabel.8 (limited to 'sbin') diff --git a/sbin/sunlabel/Makefile b/sbin/sunlabel/Makefile index 65927c6..c132756 100644 --- a/sbin/sunlabel/Makefile +++ b/sbin/sunlabel/Makefile @@ -2,7 +2,7 @@ PROG=sunlabel SRCS=sunlabel.c geom_sunlabel_enc.c -NOMAN= +MAN= sunlabel.8 WARNS=5 DPADD= ${LIBGEOM} diff --git a/sbin/sunlabel/sunlabel.8 b/sbin/sunlabel/sunlabel.8 new file mode 100644 index 0000000..bb8474b --- /dev/null +++ b/sbin/sunlabel/sunlabel.8 @@ -0,0 +1,70 @@ +.\" Copyright (c) 2004 +.\" David E. O'Brien. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd January 29, 2004 +.Dt SUNLABEL 8 +.Os +.Sh NAME +.Nm sunlabel +.Nd read and write disk pack label suitable for Sun's OpenBoot PROM +.Sh SYNOPSIS +.Nm +.Ar R +.Op Fl B Op Fl b Ar boot1 +.Op Fl r +.Op Fl n +.Ar disk profile +.Nm +.Ar e +.Op Fl B Op Fl b Ar boot1 +.Op Fl r +.Op Fl n +.Ar disk +.Nm +.Ar w +.Op Fl B Op Fl b Ar boot1 +.Op Fl r +.Op Fl n +.Ar disk type +.Sh DESCRIPTION +The +.Nm +utility +installs, examines or modifies the bootable +.Fx +label on a disk partition. +In addition, +.Nm +can install bootstrap code. +.Sh FILES +.Bl -tag -width ".Pa /boot/boot1" -compact +.It Pa /boot/boot1 +Default boot image. +.El +.Sh SEE ALSO +.Xr geom 4 , +.Xr disktab 5 , +.Xr bsdlabel 8 -- cgit v1.1