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-by-capability --capability capability [--help] [--verbose] [--version]
hal-find-by-property --key key --string value [--help] [--verbose] [--version]
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.
The following options are supported: --capability capability
HAL device capability to search for.
Display list of options.
The key to the property that is the basis of the search.
The string value associated with the property that is the basis of the search.
Verbose mode.
Display version and exit.
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Volatile |
attributes (7), hal (7), hald (8)