xref: /illumos-gate/usr/src/man/man8/hal-find.8 (revision b91bbe3818919523e866b0d622e2dd56874530a7)
te
Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
HAL-FIND 8 "Aug 22, 2006"
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 specified 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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Volatile
SEE ALSO

attributes (7), hal (7), hald (8)