aboutsummaryrefslogtreecommitdiff
path: root/sbin/sunlabel
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-01-29 18:12:27 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-01-29 18:12:27 +0000
commit12f81ec1b063673a4459247cd65b2afa23897de5 (patch)
tree2da2a9abd3de1c516bb787b7ee867315e298e951 /sbin/sunlabel
parent7d864d560c7c02e34863cfdf20b0e8df098aeeb1 (diff)
downloadsrc-12f81ec1b063673a4459247cd65b2afa23897de5.tar.gz
src-12f81ec1b063673a4459247cd65b2afa23897de5.zip
Add a very basic manpage.
Notes
Notes: svn path=/head/; revision=125210
Diffstat (limited to 'sbin/sunlabel')
-rw-r--r--sbin/sunlabel/Makefile2
-rw-r--r--sbin/sunlabel/sunlabel.870
2 files changed, 71 insertions, 1 deletions
diff --git a/sbin/sunlabel/Makefile b/sbin/sunlabel/Makefile
index 65927c6341d1..c1327564645d 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 000000000000..bb8474b3ca20
--- /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