How to see the list of mounted devices on Linux?

Asked 15-Apr-2022
Viewed 454 times

1 Answer


0

  • The findmnt command is a simple command-line utility that displays a list of currently mounted file systems and searches /etc/fstab, /etc/mtab, and /proc/self/mountinfo for a file system.
  • Type the following at a shell prompt to see a list of presently mounted file systems.
  • #findmnt
  • For each filesystem, it shows the target mount point (TARGET), the source device (SOURCE), the file system type (FSTYPE), and the applicable mount settings (OPTIONS).
  • The findmnt command displays file systems in a tree-like style by default. Use the -l option to display the information as a regular list, as displayed.
  • findmnt -l


Read More: How would you schedule a task in Linux?