Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a command that tells you the device name (ie. "/dev/sda1"), when you give it a mount point (ie. "/home")?

I'm running Ubuntu Server 9.04.

share|improve this question
up vote 2 down vote accepted
df -k /home


share|improve this answer
Thanks! "df -k" seems to do what I'm looking for. – Nick Sep 25 '09 at 22:30

df, mount, or just cat /etc/fstab.

If the actual physical device is hidden behind software RAID (eg, you see /dev/md), then cat /proc/mdstat will uncover that layer.

And if there's a blanket of LVM (eg, you see something like /dev/LogVol00), use pvdisplay.

share|improve this answer
when you use cat though, doesn't it just tell you what's supposed to be mounted, not what actually is? If you had a typo in /etc/fstab, the entry would be there, but the device might not actually be mounted due to the error. – Nick Sep 25 '09 at 22:33
For /etc/fstab, you're exactly correct. – Matt Sep 25 '09 at 22:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.