Unix and Linux Discussions Tagged with drivers |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
8,540 |
HP-UX |
|
|
|
0 |
2,606 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,564 |
Solaris |
|
|
|
1 |
7,562 |
Hardware |
|
|
|
1 |
2,190 |
Solaris |
|
|
|
3 |
4,996 |
Solaris |
|
|
|
12 |
21,657 |
Ubuntu |
|
|
|
1 |
3,019 |
Linux |
|
|
|
0 |
1,099 |
Software Releases - RSS News |
|
|
|
0 |
1,850 |
Solaris |
|
|
|
0 |
1,063 |
Software Releases - RSS News |
|
|
|
0 |
3,597 |
News, Links, Events and Announcements |
|
|
|
0 |
3,108 |
Filesystems, Disks and Memory |
|
|
|
3 |
4,021 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,471 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
3,663 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,427 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,200 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
19,088 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
4,953 |
IP Networking |
|
|
|
1 |
2,678 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,895 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,058 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,691 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
5,763 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,550 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,170 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,740 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,934 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,327 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,784 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,187 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
9,324 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,925 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,773 |
IP Networking |
|
|
|
1 |
2,803 |
UNIX for Dummies Questions & Answers |
lsdev(1M) lsdev(1M)
NAME
lsdev - list device drivers in the system
SYNOPSIS
driver | class] block_major] char_major] major] [major ...]
DESCRIPTION
The command lists, one pair per line, the major device numbers and driver names of device drivers configured into the system and available
for invocation via special files. A in either the block or character column means that a major number does not exist for that type.
If no arguments are specified, lists all drivers configured into the system.
If the option is specified, will not print a heading. This option may be useful when the output of will be used by another program.
The and options are used to select specific device drivers for output. If more than one option is specified, all drivers that match the
criteria specified by those options will be listed. These search options are divided into two types: name search keys (the and options)
and major number search keys (the and options). If both types of options are present, only entries that match both types are printed. The
same type of option may appear more than once on the command line with each occurrence providing an ORing effect of that search type. The
and options may not be specified at the same time.
The ability to process major arguments is provided for compatibility and functions like the option.
Options
List device drivers that match
class.
List device drivers with the name
driver.
List device drivers with a block major number of
block_major.
List device drivers with a character major number of
char_major.
List device drivers with either a character
major number or block major equal to major.
DIAGNOSTICS
The and options may not be specified at the same time.
A major number is malformed or out of range.
EXAMPLES
To output entries for all drivers in the class:
To output entries that are in the class that have either a block or character major number of
To get the character major number of into a shell environment variable:
WARNINGS
Some device drivers available from the system may be intended for use by other drivers. Attempting to use them directly from a special
file may produce unexpected results.
A driver may be listed even when the hardware requiring the driver is not present. Attempts to access a driver without the corresponding
hardware will fail.
only lists drivers that are configured into the currently executing kernel. For a complete list of available drivers, please run (see
sam(1M).
DEPENDENCIES
Since relies on the device driver information provided in a routine, may not list drivers installed by other means.
AUTHOR
was developed by HP.
SEE ALSO
sam(1M).
Section 7 entries related to specific device drivers.
lsdev(1M)