getdev - lists devices based on criteria
getdev [-ae] [criteria]... [device]...
getdev generates a list of devices that match certain criteria. The criteria includes a list of attributes (given in expressions) and a list of devices. If no criteria are given, all devices are included in the list.
Devices must satisfy at least one of the criteria in the list unless the -a option is used. Then, only those devices which match all of the criteria in a list will be included.
Devices which are defined on the command line and which match the criteria are included in the generated list. However, if the -e option is used, the list becomes a set of devices to be excluded from the list. See OPTIONS and OPERANDS.
The following options are supported:
-a
-e
The following operands are supported:
criteria
There are four possible expression types which the criteria specified in the criteria argument may follow:
attribute=value
attribute!=value
attribute:*
attribute!:*
See the putdev(1M) manual page for a complete listing and description of available attributes.
device
The following exit values are returned:
0
1
2
/etc/device.tab
See attributes(5) for descriptions of the following attributes:
|
devattr(1M), getdgrp(1M), putdev(1M), putdgrp(1M), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |