SETDISKPARTS(1M) SETDISKPARTS(1M)
setDiskParts - sets a disk's partition information
/usr/sysadm/privbin/setDiskParts -d special file -p format string [ -m ]
setDiskParts changes the partion table in a disk's volume header.
The setDiskParts privcmd is used by Tasks which need to change partition
information, since root permission is required to write to the disk's
volume header.
This privcmd should not be called directly from the command line. fx
provides a much more robust user interface for accomplishing the same
operations.
-d special file
The special file under /dev/rdsk that represents the entire disk.
-p format string
A series of N semi-colon separated records, one for each partition.
Each record is a series of four colon separated fields of the form
<partition>:<type>:<start>:<number of blocks>
-m Overlay the partitions given by the -p argument onto the existing
data in the volume_header partition table. If this option is not
given, then the partition table in the volume header is zero'd out
before applying the partitions specified by the "-p" argument.
sysmgr(1M), runpriv(1M), fx(1M).
PPPPaaaaggggeeee 1111 [ Back ]
|