diff options
-rw-r--r-- | usr.sbin/mksuncd/mksuncd.1 | 16 | ||||
-rw-r--r-- | usr.sbin/mksuncd/mksuncd.c | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/mksuncd/mksuncd.1 b/usr.sbin/mksuncd/mksuncd.1 index 44c4f735851..9cf8a178fce 100644 --- a/usr.sbin/mksuncd/mksuncd.1 +++ b/usr.sbin/mksuncd/mksuncd.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mksuncd.1,v 1.2 2008/08/23 07:08:06 jmc Exp $ +.\" $OpenBSD: mksuncd.1,v 1.3 2010/02/25 17:15:42 deraadt Exp $ .\" .\" Copyright (c) 2001 Jason L. Wright (jason@thought.net) .\" All rights reserved. @@ -24,7 +24,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 23 2008 $ +.Dd $Mdocdate: February 25 2010 $ .Dt MKSUNCD 1 .Os .Sh NAME @@ -33,7 +33,7 @@ .Sh SYNOPSIS .Nm mksuncd .Ar partition-letter -.Ar imagefile +.Ar isofile .Ar ufsfile .Sh DESCRIPTION The @@ -41,14 +41,14 @@ The utility adds the file .Ar ufsfile to the end of -.Ar imagefile . +.Ar isofile . .Ar ufsfile is assumed to be a bootable filesystem image and -.Ar imagefile +.Ar isofile is assumed to be something like an ISO 9660 filesystem. A Sun-style disklabel is expected to already be present at the beginning of -.Ar imagefile , +.Ar isofile , and .Nm will update that label so that the partition (a-h) given by @@ -56,10 +56,10 @@ will update that label so that the partition (a-h) given by points to .Ar ufsfile within -.Ar imagefile . +.Ar isofile . .Pp Based on the label in -.Ar imagefile , +.Ar isofile , that file is padded so that added files are always on cylinder boundaries. This is a requirement of the PROM. .Sh BUGS diff --git a/usr.sbin/mksuncd/mksuncd.c b/usr.sbin/mksuncd/mksuncd.c index 26d50ae4910..75428c3c087 100644 --- a/usr.sbin/mksuncd/mksuncd.c +++ b/usr.sbin/mksuncd/mksuncd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mksuncd.c,v 1.1 2008/08/22 15:48:32 deraadt Exp $ */ +/* $OpenBSD: mksuncd.c,v 1.2 2010/02/25 17:15:42 deraadt Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -143,7 +143,7 @@ expand_file(int f, off_t len) void usage(void) { - fprintf(stderr, "setpart partition baseimage bootimage\n"); + fprintf(stderr, "usage: mksuncd partition isoimage bootimage\n"); } /* |