devinfo man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

devinfo(1M)		System Administration Commands		   devinfo(1M)

NAME
       devinfo - print device specific information

SYNOPSIS
       /usr/sbin/devinfo -i device

       /usr/sbin/devinfo -p device

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 supe‐
       ruser.

OPTIONS
       -i	Prints the following device information:

		  ·  Device name

		  ·  Software version (not supported and prints as 0)

		  ·  Drive id number (not supported and prints as 0)

		  ·  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  spe‐
       cific   information for the making of file systems and determining par‐
       tition  information. If the device cannot be opened, an	error  message
       is reported.

OPERANDS
       device	Device name.

EXIT STATUS
       0	Successful operation.

       2	Operation failed.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWcsu			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       prtvtoc(1M), attributes(5)

SunOS 5.10			  8 May 1997			   devinfo(1M)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net