man Pages(1M): System Administration Commands
  Cerca solo questo libro
Scarica il manuale in formato PDF

NAME

devinfo - print device specific information

SYNOPSIS

/usr/sbin/devinfo -p device -i device

AVAILABILITY

SUNWcsu

DESCRIPTION

The devinfo command is used to print device specific information about disk devices on standard out. The command can only be used by the super-user.

OPTIONS

-i
Prints the following device information:
           Device name
           Software version (not supported and prints as 0 in Solaris 2.x)
           Drive id number (not supported and prints as 0 in Solaris 2.x)
           Device blocks per cylinder
           Device bytes per block
           Number of device partitions with a block size greater than zero

-p
Prints the following device partition information:
Device name
Device major and minor numbers (in hexadecimal)
Partition start block
Number of blocks allocated to the partition
Partition flag
Partition tag

This command is used by various other commands to obtain device specific information for the making of file systems and determining partition information.

SEE ALSO

prtvtoc(1M)