devprop man page on SmartOS

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

DEVPROP(1M)							   DEVPROP(1M)

NAME
       devprop - display device properties

SYNOPSIS
       /sbin/devprop [-n device-path] [-vq] [-{b|i|l|s}] [property[...]]

DESCRIPTION
       The  devprop  command  displays named device properties from the device
       tree.

       If a device path is specified on the  command  line,  devprop  displays
       device properties for that device node.

       The  output  formats, while Volatile, are patterned after those of prt‐
       conf(1M).

OPTIONS
       The following options are supported:

       -b

	   The	 properties   to   be	output	 are   sequences   of	 bytes
	   (DI_PROP_TYPE_BYTES).  -b, -i, -l, and -s are mutually exclusive of
	   one another.

       -i

	   The properties to be output are integers (DI_PROP_TYPE_INT).

       -l

	   The	 properties    to    be	   output    are    64-bit    integers
	   (DI_PROP_TYPE_INT64).

       -s

	   The	properties to be output are strings (DI_PROP_TYPE_STRING) (the
	   default).

       -n device-path

	   The path to a target device node  for  which	 properties  are  dis‐
	   played.  The	 default  path is that of the root node (equivalent to
	   specifying -n /).

       -q

	   Specifies quoted output mode, in which string properties are output
	   surrounded by double quotation marks (").

       -v

	   Specifies verbose mode, in which the name of the property is output
	   before its value.

OPERANDS
       The following operand is supported:

       property...

	   Name of the property to be displayed.

EXIT STATUS
       0

	   No error occurred.

       non-zero

	   An error occurred.

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

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ See below.      │
       └────────────────────┴─────────────────┘

       The command invocation and output are both Volatile.  The  location  of
       the utility is Committed.

SEE ALSO
       prtconf(1M), libdevinfo(3LIB), attributes(5)

				 Sep 26, 2007			   DEVPROP(1M)
[top]

List of man pages available for SmartOS

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