addPartition2

Creates a new partition on a device.

Request

<addPartition2>
   <deviceID/>
   <partitionType/>
   <size/>
   <label/>
   <ignoreShareState/>
</addPartition2>

Reply

<addPartition2>
   <result value=" ">
      <description/>
   </result>
</addPartition2>

Elements

deviceID

(Required) On NetWare, specifies the device ID received from Media Manager. On Linux, specifies the device object name.

partitionType

(Required) Specifies the type of partition (see Section 1.5.2, Partition Types.)

size

(Required) Specifies the size of the new partition in bytes.

label

(Optional) Specifies the user-defined partition label.

ignoreShareState

(Optional) If exists, specifies that no check is done to see if the device is shared.

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the returned result.