GNU/Linux |
CentOS 5.1 |
|
![]() |
ata_id(8) |
![]() |
ata_id − udev callout to read product/serial number from ATA drives
ata_id [--export] blockdevice
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.
ata_id opens the blockdevice node specified at the commandline and prints the information chosen by the options.
The following
commandline switches are supported to specify what ata_id
should print:
--export
print all values (instead of only the id)
udev(7)
Developed by Kay Sievers <kay.sievers@vrfy.org>.
![]() |
ata_id(8) | ![]() |