ide_media

NAME

ide_media - udev callout to identify media of IDE device

SYNOPSIS

I ide_media [--export] devpath

DESCRIPTION

ide_media is normally called from a udev rule to identify the media type of an IDE device. Udev can use this information to assign appropriate permissions to the device or load an appropriate module.

USAGE

ide_media 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 ide_media should print:
I --export
print media type as IDE_MEDIA environment variable for use with an IMPORT{program} rule.

SEE ALSO

udev(8)

AUTHORS

Scott James Remnant <scott@ubuntu.com>