Partition
Index Prev Next
Synopsis
DEVICE, UNIT/N, SYSSIZE/K/N, SYSTYPE/K, SYSNAME/K, WORKSIZE/K/N,
MAXWORK/S, WORKTYPE/K, WORKNAME/K, BOOTSIZE/K/N, BOOTTYPE/K,
BOOTNAME/K, WIPE/S, FORCE/S, QUIET/S, SCHEME/k
Function
Partition creates either one or two AROS partitions on a given drive.
Existing partitions will be kept unless the WIPE option is specified
(or a serious bug occurs, for which we take no responsibility).
Partitions created by this command must be formatted before they can
be used.
By default, a single SFS System partition is created using the
largest amount of free space possible. A smaller size can be chosen
using the SYSSIZE argument. To also create a Work partition, either
WORKSIZE or MAXWORK must additionally be specified. The WORKSIZE
argument allows the size of the Work partition to be specified,
while setting the MAXWORK switch makes the Work partition as large
as possible.
The filesystems used by the System and Work partitions may be
specified using the SYSTYPE and WORKTYPE arguments respectively.
The available options are "SFS" (Smart Filesystem, the default), and
"FFSIntl" (the traditional so-called Fast Filesystem).
The DOS device names used for the System and Work partitions may be
specified using the SYSNAME and WORKNAME arguments respectively.
By default, these are DH0 and DH1.
If you wish to use only AROS on the drive you run this command on,
you can specify the WIPE option, which destroys all existing
partitions on the drive. Be very careful with this option: it
deletes all other operating systems and data on the drive, and could
be disastrous if the wrong drive is accidentally partitioned.
If the drive does not already contain an extended partition, one is
created using the largest available region of free space. The AROS
partitions are then created as a logical partition within. This is
in order to make the addition of further partitions easier.
Result
Standard DOS error codes.
Example
Partition ata.device 1 SYSSIZE 200 MAXWORK
Notes
Using HDToolBox instead of this command may sometimes be safer, as
it shows where partitions will be created on the drive before
changes are written to disk. However, HDToolBox can be unreliable.
|
|