Linux Command: Show Mounted Hard Drives Partition

by on April 5, 2012 · 3 comments· LAST UPDATED April 5, 2013


How do I list or show all mounted devices in a terminal under Linux operating systems?

You need to use any one of the following command to see mounted drives under Linux operating systems.

[a] df command - Shoe file system disk space usage.

Tutorial details
DifficultyEasy (rss)
Root privilegesNo
Estimated completion timeN/A

[b] mount command - Show all mounted file systems.

[c] /proc/mounts or /proc/self/mounts file - Show all mounted file systems.


Open a terminal or login using ssh into the remote server and type the following command:
$ cat /proc/mounts
$ cat /proc/self/mounts
Sample outputs:

sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=8190572k,nr_inodes=2047643,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/mapper/wks01-root / ext3 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
/dev/sda1 /boot ext2 rw,relatime,errors=continue 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
none /proc/fs/vmblock/mountPoint vmblock rw,relatime 0 0

Type the mount command as follows to get same information:

mount -l

Sample outputs:

/dev/mapper/wks01-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /boot type ext2 (rw) [boot]
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)

Type the df command shows more human readable output:

df -aTh

Sample outputs:

Fig.01: df command in action

Fig.01: df command in action

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 3 comments… read them below or add one }

1 alex March 8, 2014 at 5:56 pm

command not found…


2 Neno March 14, 2014 at 1:38 pm

Which command will display the number of devices in my system (routers/switches/AP)


3 Sudindhar August 13, 2014 at 2:47 pm

Hi All,

I purchased the Hp 15-n018 model laptop, when i checking with vendor they said will not support for Linux operating and i didn’t found the driver in internet….. i able found in win 8 and 8.1….
But am very interested in Linux operating system…. any one can please help me where i can the driver.


Leave a Comment

Tagged as: , , , ,

Previous Faq:

Next Faq: