Table 6-22 Expressions
Operator or Term
and
or
gt
lt
gte
lte
eq
neq
not
PCI:string
HWQ:string
string
number
parted
Synopsis
parted [-v | -i | -s | -h]...
[DEVICE [COMMAND [PARAMETER]...] ...]
Description
The parted utility manages disk partitions. It allows you to make a GPT partition table and to
create all the partitions needed. It is also able to create hidden partitions and change the partition
GUID to HPSP, SWAP, LINUX and ESP.
Table 6-23 parted Options
Option
-v
-i
-s
-h
Examples
The following examples illustrate the use of parted:
•
To check the file system:
check MINOR
•
To copy a file system to another partition:
cp [FROM-DEVICE] FROM-MINOR TO-MINOR
Result
True if both operands are true.
True if either operand is true.
True if the first operand is greater than the second.
True if the first operand is less than the second.
True if the first operand is greater than or equal to the second.
True if the first operand is less than or equal to the second.
True if the two operands are equal.
True if the two operands are not equal.
True if the operand is false.
True if a PCI device whose name includes string is found in the hardware discovery file.
string is case-sensitive.
The hardware discovery file is searched for string, and the corresponding value is the value
of this term. string is case-sensitive.
A literal string, used for comparison.
A literal number, used for comparison.
Description
Displays the version.
Where necessary, prompts for user intervention.
Never prompts for user intervention.
Displays this help message.
parted
79