summaryrefslogtreecommitdiff
path: root/sbin/pdisk/pdisk.html
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2002-06-09 08:13:10 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2002-06-09 08:13:10 +0000
commit3ed8b10a8df515c0cb5a2a6a0962c67f1c697164 (patch)
tree16644eb4e4232e2d2cd65fc342c5dbaafdc4e136 /sbin/pdisk/pdisk.html
parentc021608bd50b74de1b8074e336f7adad03b1c7d8 (diff)
rm trailing whitespace
Diffstat (limited to 'sbin/pdisk/pdisk.html')
-rw-r--r--sbin/pdisk/pdisk.html120
1 files changed, 60 insertions, 60 deletions
diff --git a/sbin/pdisk/pdisk.html b/sbin/pdisk/pdisk.html
index cb757faa8c7..0ea70428793 100644
--- a/sbin/pdisk/pdisk.html
+++ b/sbin/pdisk/pdisk.html
@@ -68,16 +68,16 @@ DriveSetup, etc) are:</P>
<UL>
<LI>unlike the Apple partitioners, it does not restrict the set of
drives it can operate on
-
+
<LI>it allows partitions to be reordered (helpful, as MkLinux
depends on the order)
-
+
<LI>it creates MkLinux partitions by default
-
+
<LI>it allows the size of the partition map to be changed
-
+
<LI>it allows the name of a partition to be changed
-
+
<LI>it allows you to edit the partition map of your boot disk
</UL>
@@ -85,9 +85,9 @@ DriveSetup, etc) are:</P>
<UL>
<LI>it doesn't automatically initialize HFS partitions
-
+
<LI>it can't install disk drivers
-
+
<LI>it allows you to edit the partition map of your boot disk
</UL>
@@ -140,40 +140,40 @@ when the upper case letter does a variant form of the operation.</P>
<DL>
<DT><B>h</B>
-
+
<DD>Prints just the command help. The difference between <B>h</B>
and <B>?</B> is the latter prints some helpful notes as well.
-
+
<DT><B>v</B>
-
+
<DD>Prints a version number and release date. Matches the
version in the GetInfo window for the application.
-
+
<DT><B>l</B>
-
+
<DD>Prompts for the name of the device and then lists the
partition map on that device.
-
+
<DT><B>L</B>
-
+
<DD>Lists all the devices.
-
+
<DT><B>e</B>
-
+
<DD>Prompts for the name of the device and then opens the partition
map for editing.
-
+
<DT><B>E</B>
-
+
<DD>Same as <B>e</B>, except also prompts for block size.
-
+
<DT><B>r</B>
-
+
<DD>Toggles read-only setting. When read-only is on pdisk will not
write a partition map.
-
+
<DT><B>q</B>
-
+
<DD>Quit pdisk.
</DL>
@@ -184,10 +184,10 @@ like.</P>
<PRE>Partition map (with 512 byte blocks) on '/dev/scsi0.2' (/dev/sda)
#: type name length base ( size )
- 1: Apple_partition_map Apple 63 @ 1
- 2: Apple_Driver43*Macintosh 54 @ 64
- 3: Apple_Driver43*Macintosh 74 @ 118
- 4: Apple_Patches Patch Partition 512 @ 192
+ 1: Apple_partition_map Apple 63 @ 1
+ 2: Apple_Driver43*Macintosh 54 @ 64
+ 3: Apple_Driver43*Macintosh 74 @ 118
+ 4: Apple_Patches Patch Partition 512 @ 192
5: Apple_HFS untitled 2117430 @ 704 ( 1.0G)
6: Apple_Free Extra 10 @ 2118134
&nbsp;
@@ -212,18 +212,18 @@ index. For each entry, the following information is displayed:</P>
<LI>index - where the partition entry is in the map. This does not
correspond the relative order of the partition contents and can
change when the partition map is edited.
-
+
<LI>type - the sort of data expected to be in the partition. pdisk
doesn't put data into the contents of any partition except the
partition map partition. The type is a case-insensitive string.
-
+
<LI>name - the name is for the user's information.
-
+
<LI>length - the number of partition blocks the partition takes.
-
+
<LI>base - the first block of the partition, measured in partition
blocks, starting from zero.
-
+
<LI>size - this is the length in bytes. Only shown if the size is
at least one megabyte.
</UL>
@@ -276,96 +276,96 @@ map.</P>
<DL>
<DT><B>h</B>
-
+
<DD>Prints just the command help. The difference between <B>h</B>
and <B>?</B> is the latter prints some helpful notes as well.
-
+
<DT><B>p</B>
-
+
<DD>Prints the partition table. The form is identical to the
listing described above.
-
+
<DT><B>P</B>
-
+
<DD>Identical to <B>p</B>, except the entries are listed in the
order of the partitions on the disk (i.e. by the increasing base
value) rather than in index order.
-
+
<DT><B>i</B>
-
+
<DD>Initializes the partition map (rarely used). This command
prompts for the size of the device. WARNING - if you write the map
after initializing it you will delete all the drivers on the device.
That makes the device invisible to the Mac OS. pdisk is not able
to install drivers.
-
+
<DT><B>s</B>
-
+
<DD>Change the size of the partition map partition. The partition
map's size must be less than or equal to the size of the partition
it is contained in. This is mostly useful when you want to do
tricky things like making a disk with multiple partitioning
schemes on it.
-
+
<DT><B>c</B>
-
+
<DD>Create a new partition takes three arguments.<BR>
-
+
The first argument is the base address (in partition blocks) of
the partition. Besides a raw number, you can also specify a
partition number followed by the letter 'p' to indicate that the
first block of the new partition should be the same as the first
block of that existing free space partition.<BR>
-
+
The second argument is the length of the partition in partition
blocks. This can be a raw number or can be a partition number
followed by the letter 'p' to use the size of that partition or
can be a number followed by 'k', 'm', or 'g' to indicate the size
in kilobytes, megabytes, or gigabytes respectively. (These are
powers of 1024, of course, not powers of 1000.)<BR>
-
+
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.<BR>
-
+
The type of the created partition is set to the correct type for
MkLinux ("Apple_UNIX_SVR2").
-
+
<DT><B>C</B>
-
+
<DD>Identical to the <B>c</B> command, with the addition of a
prompt for the partition type after the other arguments. The type
can be a single word without quotes, or a string surrounded by
single or double quotes.
-
+
<DT><B>n</B>
-
+
<DD>Rename a partition. Do not change the name of any partition
whose type starts with "Apple_Driver". The MacOS looks at the
names of those partitions. All other partitions should be okay
to change.
<DT><B>d</B>
-
+
<DD>Delete a partition. When a partition is deleted it's type is
changed to free ("Apple_Free") and then it is combined with any
adjacent free space.
-
+
<DT><B>r</B>
-
+
<DD>Reorder takes the current index and the desired new index. If
you give a new index which is greater than the last index the
entry will be moved to the last index.
-
+
<DT><B>w</B>
-
+
<DD>Write does write the partition map out, but pdisk does not yet
flush the appropriate caches and unmount volumes so the partition
map is not reinterpreted. In order to use the new partition map
you must reboot your machine. Sorry.
-
+
<DT><B>q</B>
-
+
<DD>Quit out of editing. Returns to the top level prompt. If you
have modified the partition map you are NOT asked if you want to
save the changes, instead the changes are quietly thrown away.
@@ -376,12 +376,12 @@ map.</P>
<DL>
<DD>This is an awful Mac OS application, it should be rewritten
to look the way a Mac OS app should look.
-
+
<DD>The code assumes a better understanding of the partitioning
scheme than most people care to acquire.
-
+
<DD>&nbsp;
-
+
<DD>Even more help should be available during user input.
</DL>