summaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.8
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-02-13 00:10:40 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-02-13 00:10:40 +0000
commit05cf4c1d2b4898a1161171744765e3263767a7f9 (patch)
tree431cdff7fc625f0afc47cfcaa2e88a3e17f4ab81 /sbin/disklabel/disklabel.8
parentb45ec15417d08cc99919929e7bcf18ed0c2d7bdb (diff)
add support for printing disklabels in units other than sectors from
the cmdline based on a patch by mho at mho.nu ok and input by millert@
Diffstat (limited to 'sbin/disklabel/disklabel.8')
-rw-r--r--sbin/disklabel/disklabel.89
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8
index 7cd7e2dea83..0d7e79e13e2 100644
--- a/sbin/disklabel/disklabel.8
+++ b/sbin/disklabel/disklabel.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: disklabel.8,v 1.48 2003/02/01 16:29:52 jmc Exp $
+.\" $OpenBSD: disklabel.8,v 1.49 2003/02/13 00:10:39 tedu Exp $
.\" $NetBSD: disklabel.8,v 1.9 1995/03/18 14:54:38 cgd Exp $
.\"
.\" Copyright (c) 1987, 1988, 1991, 1993
@@ -47,6 +47,7 @@
.Nm disklabel
.Op Fl n
.Op Fl cd Li \&| Fl r
+.Op Fl p Ar unit
.Op Fl t
.Op Fl v
.Ar disk
@@ -187,6 +188,12 @@ flag.
If
.Ar tempfile
already exists, it will be overwritten.
+.It Fl p Ar unit
+Print partition sizes and offsets in
+.Ar unit
+instead of sectors.
+Valid units are b(ytes), c(ylinders), k(ilobytes), m(egabytes) and
+g(igabytes).
.It Fl t
Format the label as a
.Xr disktab 5