aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-08-07 07:52:31 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-08-07 07:52:31 +0000
commit7eece0972de5ad8142ef37a853624fb94c1b3685 (patch)
tree430386b41f74712e9027bb4e2f96e2c4020e4d9b
parent6686e95fef4a90a8d1e1eb6535d6712b637e443e (diff)
Notes
-rw-r--r--sbin/gpt/gpt.838
1 files changed, 37 insertions, 1 deletions
diff --git a/sbin/gpt/gpt.8 b/sbin/gpt/gpt.8
index f284eef4889a9..49d6132a49c1e 100644
--- a/sbin/gpt/gpt.8
+++ b/sbin/gpt/gpt.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 6, 2004
+.Dd August 7, 2004
.Os
.Dt GPT 8
.Sh NAME
@@ -194,6 +194,42 @@ option prevents migrating
.Bx
disk labels into GPT partitions by creating
the GPT equivalent of a slice.
+.\" ==== remove ====
+.It Xo
+.Nm
+.Ic remove
+.Op Fl b Ar number
+.Op Fl i Ar index
+.Op Fl s Ar count
+.Op Fl t Ar type
+.Ar device ...
+.Xc
+The
+.Ic remove
+command allows the user to remove any partitions that match the selection.
+BEWARE: when no options are given, all GPT partitions will match and thus
+will be deleted.
+.Pp
+The
+.Fl b Ar number
+option selects the partitions that starts at the given number.
+.Pp
+The
+.Fl i Ar index
+option selects the partition with the given partition number.
+.Pp
+The
+.Fl s Ar count
+option selects all partitions that have the given size.
+This can cause multiple partitions to be removed.
+.Pp
+The
+.Fl t Ar type
+option selects all partitions that have the given type.
+The type is given as an UUID or by the aliases that the
+.Ic add
+command accepts.
+This can cause multiple partitions to be removed.
.\" ==== show ====
.It Xo
.Nm