This file is indexed.

/sbin/u-d-c-print-pci-ids is in ubuntu-drivers-common 1:0.4.17.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/bin/sh

PCI_ID="${ID_PATH##pci-}"

# We only care about nvidia and fglrx here
if [ -d "/sys/bus/pci/drivers/nvidia/$PCI_ID/" ]; then
    DEVICE="$(cat /sys/bus/pci/drivers/nvidia/$PCI_ID/device)"
    VENDOR="$(cat /sys/bus/pci/drivers/nvidia/$PCI_ID/vendor)"
elif [ -d "/sys/bus/pci/drivers/fglrx/$PCI_ID/" ]; then
    DEVICE="$(cat /sys/bus/pci/drivers/fglrx_pci/$PCI_ID/device)"
    VENDOR="$(cat /sys/bus/pci/drivers/fglrx_pci/$PCI_ID/vendor)"
else
    exit 0
fi

touch "/run/u-d-c-gpu-$PCI_ID-$VENDOR-$DEVICE"