mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 14:12:52 +00:00
I tested the grub image under VirtualBox and it appeared that the image didn't have pci.ids file included in the /res directory. In that case it would be expected that lspci can still function correctly if the -n parameter is passed, but then the unveil syscall failed because the file didn't exist. To cope with this, we should allow lspci to work without the pci.ids file being present at the filesystem, so let's not unveil this file if the -n parameter is passed.
635 B
635 B
Name
lspci - list connected PCI devices
Synopsis
$ lspci
Description
lspci is a utility for displaying information about PCI buses in the system and devices connected to them. It shows a brief list of devices.
Options
-n
,--numerical
: Don't try to resolve numerical PCI IDs. This is useful when there is a need to see the actual PCI IDs, or if/res/pci.ids
file is not available.
Files
/sys/bus/pci
- source of the PCI devices list./res/pci.ids
- a database of PCI identifiers used to match available devices to their vendor, device and class names.
Examples
$ lspci