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

3.6.1.1. Usage

devlookup [-v VAR] [-k] /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.

3.6.1.3. Options

-v

write output to VARIABLE instead of printing it

-k

output kernel rootarg line