HP B2355-92068 Administration Manual page 368

System administration commands
Table of Contents

Advertisement

idisk(1M)
The first entry specifies the number of partitions to create. The second specifies an EFI partition of 100
megabytes. The last entry specifies a HPUX partition consisting of all the remaining space on the disk
after the EFI partition has been created.
When creating partitions, the device file name must be that of the whole disk and must not have any parti-
tion number bits set in the minor number. For disk devices, the last eight bits of the minor number
represent the option bits. For Itanium-based system's disks, the last four option bits are used to indicate
the partition number. Since there are only four bits for partition number, only one to fifteen partitions are
supported. For example, a device node with a minor number of 0x008001 would indicate a disk at target
eight, partition number one. A minor number of 0x00500F would indicate a disk at target 5 partition
fifteen. A minor number with no partition bits set would indicate the whole disk (.ie 0x008000 would be the
same disk as above but represent the whole disk and not a partition).
Note
has been ported to Windows NT 4.0 and 2000.
idisk
RETURN VALUE
Exit values are:
0
Successful completion.
Error condition occurred.
>0
i
EXAMPLES
Create the partitions specified in the above description file, printing only the primary partition information:
idisk -w -p -f ia64dsk.dat /dev/rdsk/c1t4d0
Create the partitions specified in the above description file, printing all available information (default),
redirecting input from stdin:
idisk -w -f - /dev/rdsk/c1t4d0 < ia64dsk.dat
Only read the disk, printing all tables (default) on the disk:
idisk /dev/rdsk/c1t4d0
Get the first and last usable block for partitioning on the disk:
idisk -b /dev/rdsk/c1t4d0
Destroy all partition information on the disk:
idisk -R /dev/rdsk/c1t4d0
Restore partition information from either a good primary or alternate header or table to the header or table
that is bad:
idisk -w -r /dev/rdsk/c1t4d0
AUTHOR
idisk
was developed by HP.
SEE ALSO
efi(4).
368
Hewlett-Packard Company
(Itanium(R)-based Processor Family Only)
− 2 −
HP-UX 11i Version 2: December 2007 Update
idisk(1M)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents