summaryrefslogtreecommitdiff
path: root/sbin/pdisk
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-10-12 05:17:02 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-10-12 05:17:02 +0000
commitb92d2217d9541fce82d21a128ef559350fd92413 (patch)
tree1b6cd42e6fc6f5780c139dae03d8bb335bb100f3 /sbin/pdisk
parent5a979ef8a968dd8cd258a257a753813d2489d030 (diff)
Manpage changes to go with addition of the 't' command, and cleanup
By Alexander Guy.
Diffstat (limited to 'sbin/pdisk')
-rw-r--r--sbin/pdisk/pdisk.816
1 files changed, 11 insertions, 5 deletions
diff --git a/sbin/pdisk/pdisk.8 b/sbin/pdisk/pdisk.8
index f4e82540a35..4722599d5c4 100644
--- a/sbin/pdisk/pdisk.8
+++ b/sbin/pdisk/pdisk.8
@@ -84,7 +84,7 @@ initialize partition map
.It Em s
change size of partition map
.It Em c
-create new partition (standard MkLinux type)
+create new partition (standard OpenBSD type)
.It Em C
create with type also specified
.It Em n
@@ -93,6 +93,8 @@ create with type also specified
delete a partition
.It Em r
reorder partition entry in map
+.It Em t
+change the type of an existing partition
.It Em w
write the partition table
.It Em q
@@ -116,9 +118,8 @@ Most of the commands will change the index numbers of all partitions
after the affected partition.
You are advised to print the table as frequently as necessary.
-Creating more than fifteen partitions is not advised.
-There is currently a bug in the some (all?) of the kernels which causes
-access to the whole disk fail if more than fifteen partitions are in the map.
+Creating more than fifteen partitions is not advised, for
+compatibility reasons.
The
.Em c
@@ -136,7 +137,7 @@ respectively.
The last argument is the name of the partition.
This can be a single word without quotes, or a string surrounded by
single or double quotes.
-The type of the created partition is the correct type for MkLinux.
+The type of the created partition is the correct type for OpenBSD.
The
.Em C
@@ -158,6 +159,11 @@ The
The index numbers are constrained to be a contiguous sequence.
The
+.Em t
+(change type) command allows the type of an existing partition to be changed.
+Examples of valid partition types are: Apple_Free, Apple_HFS, and OpenBSD.
+
+The
.Em i
(initalize) command prompts for the size of the device.
This was done to get around a bug in the kernel where it reports the wrong