title: udevadm and ATA Addressing
body: <p>In <code>udevadm info /dev/sda</code>, why are different ata values provided and which one is the preferred/more accurate address?</p>
  <pre><code>...
  N: sda
  S: disk/by-path/pci-0000:00:1f.2-ata-1.0
  ...
  E: DEVPATH=/devices/pci0000:00/0000:001f.2/ata3/host2/target2:0:0/2:0:0:0/block/sda
  ...
  E: ID_ATA=1
  ...
  </code></pre>
  <p>I see that the <strong>by-path</strong> is <code>...ata-1.0</code> but the <strong>DEVPATH</strong> has it as <code>.../ata3/...</code> and the <strong>ID_ATA</strong> is <code>1</code></p>
  <p>I would assume that the most accurate way to target a device is <code>/dev/disk/by-path/...</code> but I am not understanding the variations in the ata value.</p>