xref: /titanic_51/usr/src/man/man1m/hal-find.1m (revision 15a5f64a0e54ccfff87908c70d561a14d8b63c16)
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 1M "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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Volatile
SEE ALSO

hald(1M), attributes(5), hal(5)