Link between specified EBS volume name and actual device name in Linux system : <p>I have EC2 instance with EBS volume attached, so that describe-instances command prints: </p>

<pre><code>     "DeviceName": "/dev/sdf",
     "Ebs": {   "Status": "attached",
                "DeleteOnTermination": false,
                "VolumeId": "vol-04bfa2fab8e57a3dc",
                "AttachTime": "2016-09-26T09:39:08.000Z"   }
</code></pre>

<p>As per documentation:</p>

<blockquote>
  <p>Depending on the block device driver of the kernel, the device might be attached with a different name than what you specify</p>
</blockquote>

<p>In my case actual name of this volume is <code>/dev/xvdf</code>. </p>

<p>Is it possible from within an instance to know which name was specified for a volume in Amazon console? </p>

<p>Or vice versa - to know which actual name will be used by linux for a volume outside an instance? </p>
