Linux command
discover 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Run hardware discovery
discover
Discover specific
discover [video]
List all hardware
discover --list
Show detailed information
discover -v [device_type]
Format output
discover --format data [network]
说明
discover is a hardware identification system for Linux that identifies hardware devices and maps them to kernel modules, X drivers, or other software components. It queries system buses to detect attached hardware. The tool is used in installation and configuration systems to automatically detect hardware and load appropriate drivers. It maintains a database mapping device IDs to driver names and configuration data. discover can identify devices across various buses including PCI, USB, and others, providing information needed for automatic hardware configuration.
参数
- --list
- List available device types.
- -v, --verbose
- Verbose output.
- --data-version _VERSION_
- Output data format version.
- --format _FORMAT_
- Output format (human, data, etc.).
- --help
- Display help information.
FAQ
What is the discover command used for?
discover is a hardware identification system for Linux that identifies hardware devices and maps them to kernel modules, X drivers, or other software components. It queries system buses to detect attached hardware. The tool is used in installation and configuration systems to automatically detect hardware and load appropriate drivers. It maintains a database mapping device IDs to driver names and configuration data. discover can identify devices across various buses including PCI, USB, and others, providing information needed for automatic hardware configuration.
How do I run a basic discover example?
Run `discover` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --list do in discover?
List available device types.