3.6.1. devlookup - look up device behind device file and its parameters

3.6.1.1. Usage

devlookup [-v VAR] /dev/DEVICE [parameter]

3.6.1.2. Synopsis

Detects the device behind a device file and outputs it, unless a second argument is given. In that case the device parameter with that name is looked up. Specifying -v VARIABLE will write output to VARIABLE instead of printing it