Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hal-find-by-property(1m) [opensolaris man page]

hal-find(1M)						  System Administration Commands					      hal-find(1M)

NAME
hal-find, hal-find-by-capability, hal-find-by-property - search HAL global device list SYNOPSIS
hal-find-by-capability --capability capability [--help] [--verbose] [--version] hal-find-by-property --key key --string value [--help] [--verbose] [--version] DESCRIPTION
The hal-find commands, hal-find-by-capability and hal-find-by-property, search the Hardware Abstraction Layer (HAL) device list by speci- fied criteria and displays results on the standard output. hal-find-by-capability searches by capability, such as volume or block. hal- find-by-property searches by property, such as block.is_volume or volume.disc.has_audio. OPTIONS
The following options are supported: --capability capability HAL device capability to search for. --help Display list of options. --key key The key to the property that is the basis of the search. --string value The string value associated with the property that is the basis of the search. --verbose Verbose mode. --version Display version and exit. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWhalr | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
hald(1M), attributes(5), hal(5) SunOS 5.11 22 Aug 2006 hal-find(1M)

Check Out this Related Man Page

HAL-SET-PROPERTY(1)					      General Commands Manual					       HAL-SET-PROPERTY(1)

NAME
hal-set-property - set a property on a device object SYNOPSIS
hal-set-property [options] DESCRIPTION
hal-set-property sets a property on a device object in the HAL device database. For more information about both the big picture and spe- cific HAL properties, refer to the HAL spec which can be found in /usr/share/doc/hal-doc/spec/hal-spec.html depending on the distribution. OPTIONS
The following options are supported: --udi The UDI (Unique Device Identifier) of the device object. --key The name of the property. --int Set value property of the property to a 32-bit signed integer. The value passed is assumed to be decimal unless it's prefixed with 0x or x for hexadecimal values. --uint64 Set value property of the property to a 64-bit unsigned integer. The value passed is assumed to be decimal unless it's prefixed with 0x or x for hexadecimal values. --string Set value property of the property to a string. --double Set value property of the property to a floating point number. --bool Set value property of the property to boolean, e.g. true or false. --strlist-pre Prepend an item to a string list. --strlist-post Append an item to a string list. --strlist-rem Remove an item from a string list. --remove Remove a property. --help Print out usage. --version Print the version. RETURN VALUE
If setting the property succeeds, this program will exit with exit code 0. On errors a non-zero the program will exit with a non-zero exit code. Note that setting properties on the HAL device database usually requires super user privileges. BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to subscribe. SEE ALSO
hald(8), lshal(1), hal-get-property(1), hal-find-by-property(1), hal-find-by-capability(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. HAL-SET-PROPERTY(1)
Man Page