hal-find.1m revision c10c16dec587a0662068f6e2991c29ed3a9db943
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 "22 Aug 2006" "SunOS 5.11" "System Administration Commands"
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 TYPEATTRIBUTE VALUE
Interface StabilityVolatile
SEE ALSO

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