NAME
vio_type - udev callout to identify type of VIO device
SYNOPSIS
I vio_type
[--export] devpath
DESCRIPTION
vio_type
is normally called from a udev rule to identify the type of a VIO
device. Udev can use this information to assign appropriate permissions to
the device or load an appropriate module.
USAGE
vio_type
takes a path under /sys, if not given it uses the value of the
DEVPATH
environment variable instead. It then prints the information chosen by the
options.
OPTIONS
The following command-line switches are supported to specify what
vio_type should print:
I --export
print device type as VIO_TYPE environment variable for use with an
IMPORT{program} rule.
SEE ALSO
AUTHORS
Scott James Remnant <scott@ubuntu.com>