ata_id(8) - Linux man page

Name

ata_id - udev callout to read product/serial number from ATA drives

Synopsis

ata_id [--export] blockdevice

Description

ata_id is normally called from a udev rule, to provide udev with a unique string and additional information (uuid, label) for an ATA drive. Udev can use this information to create symlinks in /dev/disk/by-id and /dev/disk/by-label to the real device node.

Usage

ata_id opens the blockdevice node specified at the commandline and prints the information chosen by the options.

Options

The following commandline switches are supported to specify what ata_id should print:
--export
print all values (instead of only the id)

See Also

udev(7)

Authors

Developed by Kay Sievers <kay.sievers@vrfy.org>.