---
name: "ata_id"
section: "8"
platform: "linux"
package: "udev"
version: "0.125-7+lenny3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_id"
---

# ata\_id(8)

udev callout to read product/serial number from ATA drives

## 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)](/udev/7.md)

## AUTHORS

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