diff options
author | marcel <marcel@FreeBSD.org> | 2004-08-07 07:52:31 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-08-07 07:52:31 +0000 |
commit | af16561272b5ed7763132321d24325ebdba421bd (patch) | |
tree | 430386b41f74712e9027bb4e2f96e2c4020e4d9b /sbin/gpt | |
parent | aaf12b42bbb5f504964abd0411c9bf6438e7df95 (diff) | |
download | FreeBSD-src-af16561272b5ed7763132321d24325ebdba421bd.zip FreeBSD-src-af16561272b5ed7763132321d24325ebdba421bd.tar.gz |
Document the remove command.
Diffstat (limited to 'sbin/gpt')
-rw-r--r-- | sbin/gpt/gpt.8 | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/sbin/gpt/gpt.8 b/sbin/gpt/gpt.8 index f284eef..49d6132 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 |