little linux helpers (5) – findmnt

January 30, 2014 — Leave a comment

similar to tree there is a command to show all the mounts in a nice tree like output: findmnt

findmnt
TARGET                       SOURCE                                                
/                            /dev/disk/by-uuid/cb51d0c9-6cde-49c9-ae17-2ca37ecc2f7f
├─/sys                       sysfs                                                 
│ ├─/sys/fs/cgroup                                                                 
│ │ └─/sys/fs/cgroup/systemd systemd                                               
│ ├─/sys/fs/fuse/connections                                                       
│ ├─/sys/kernel/debug                                                              
│ ├─/sys/kernel/security                                                           
│ └─/sys/fs/pstore                                                                 
├─/proc                      proc                                                  
│ └─/proc/sys/fs/binfmt_misc binfmt_misc                                           
├─/dev                       udev                                                  
│ └─/dev/pts                 devpts                                                
└─/run                       tmpfs                                                 
  ├─/run/lock                                                                      
  ├─/run/shm                                                                       
  └─/run/user                                                                      
    └─/run/user/1000/gvfs    gvfsd-fuse                                             

Note: I omitted the last to columns to allow the output to fit on screen.

No Comments

Be the first to start the conversation!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.