-.\" $OpenBSD: disklabel.8,v 1.113 2015/04/29 09:58:16 henning Exp $
+.\" $OpenBSD: disklabel.8,v 1.114 2015/04/29 16:56:31 henning Exp $
.\" $NetBSD: disklabel.8,v 1.9 1995/03/18 14:54:38 cgd Exp $
.\"
.\" Copyright (c) 1987, 1988, 1991, 1993
.Sh SYNOPSIS
.Nm disklabel
.Op Fl Acdtv
-.Op Fl T Ar file
.Op Fl h | p Ar unit
+.Op Fl T Ar file
.Ar disk
.Nm disklabel
.Fl w
.Nm disklabel
.Fl E
.Op Fl Acdnv
-.Op Fl T Ar file
.Op Fl F Ns | Ns Fl f Ar file
+.Op Fl T Ar file
.Ar disk
.Nm disklabel
.Fl R
saved in an
.Tn ASCII
file.
-.It Fl t
-Format the label as a
-.Xr disktab 5
-entry.
.It Fl T Ar file
Read the template for automatic allocation from
.Ar file
See
.Sx AUTOMATIC DISK ALLOCATION
below for the format.
+.It Fl t
+Format the label as a
+.Xr disktab 5
+entry.
.It Fl v
Print additional information during operation
.Pq verbose mode .
-/* $OpenBSD: disklabel.c,v 1.200 2015/04/29 09:58:16 henning Exp $ */
+/* $OpenBSD: disklabel.c,v 1.201 2015/04/29 16:56:31 henning Exp $ */
/*
* Copyright (c) 1987, 1993
usage(void)
{
fprintf(stderr,
- "usage: disklabel [-Acdtv] [-h | -p unit] disk\t\t(read)\n");
+ "usage: disklabel [-Acdtv] [-h | -p unit] [-T file] disk\t(read)\n");
fprintf(stderr,
" disklabel -w [-Acdnv] [-T file] disk disktype [packid]\t(write)\n");
fprintf(stderr,
" disklabel -e [-Acdnv] [-T file] disk\t\t\t(edit)\n");
fprintf(stderr,
- " disklabel -E [-Acdnv] [-T file] [-F|-f file] disk\t(simple editor)"
+ " disklabel -E [-Acdnv] [-F|-f file] [-T file] disk\t(simple editor)"
"\n");
fprintf(stderr,
" disklabel -R [-nv] [-F|-f file] disk protofile\t\t(restore)\n\n");