summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk/fdisk.8
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2007-04-30 18:29:36 +0000
committermaxim <maxim@FreeBSD.org>2007-04-30 18:29:36 +0000
commit24e3ce108a904527e77cb4fbbaac2ae1c12bf0ce (patch)
tree161e16a849fb933f927ae2ff7fa1692cef3fb3c5 /sbin/fdisk/fdisk.8
parentc0dd4e798d02065ab87dcf8e939ec5985f3c6317 (diff)
downloadFreeBSD-src-24e3ce108a904527e77cb4fbbaac2ae1c12bf0ce.zip
FreeBSD-src-24e3ce108a904527e77cb4fbbaac2ae1c12bf0ce.tar.gz
o Add -p flag: print a slice table in fdisk configuration file format.
Now it is possible to do something like fdisk -p ad0 | fdisk -f - ad1. PR: bin/110182 Submitted by: Jukka A. Ukkonen MFC after: 1 month
Diffstat (limited to 'sbin/fdisk/fdisk.8')
-rw-r--r--sbin/fdisk/fdisk.810
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/fdisk/fdisk.8 b/sbin/fdisk/fdisk.8
index 78eafa7..562adbb 100644
--- a/sbin/fdisk/fdisk.8
+++ b/sbin/fdisk/fdisk.8
@@ -1,6 +1,6 @@
.\" $FreeBSD$
.\"
-.Dd December 12, 2006
+.Dd April 30, 2007
.Dt FDISK 8
.Os
.Sh NAME
@@ -8,7 +8,7 @@
.Nd PC slice table maintenance utility
.Sh SYNOPSIS
.Nm
-.Op Fl BIaistu
+.Op Fl BIaipstu
.Op Fl b Ar bootcode
.Op Fl 1234
.Op Ar disk
@@ -109,6 +109,12 @@ Initialize sector 0 slice table
for one
.Fx
slice covering the entire disk.
+.It Fl p
+Print a slice table in
+.Nm
+configuration file format and exit; see
+.Sx CONFIGURATION FILE ,
+below.
.It Fl s
Print summary information and exit.
.It Fl t
OpenPOWER on IntegriCloud