Windows
Linux
System & Storage
Disk & Storage
Windows mountvol equivalent in Linux
Lists mounted filesystems and attaches or detaches a filesystem from the directory tree.
Windows
→
mountvol
Linux equivalents
findmnt
findmnt
findmnt
Overview
What this command does
Lists mounted filesystems and attaches or detaches a filesystem from the directory tree.
Migration tip: Linux mounts storage at directories rather than assigning drive letters.
findmnt is the clearest read-only view.Practical tasks
Common use cases
View or manage mount points
Lists mounted filesystems and attaches or detaches a filesystem from the directory tree.
findmnt
Show all mounts
sudo mount /dev/sdb1 /mnt/data
Mount a filesystem
sudo umount /mnt/data
Unmount it
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
findmnt
sudo mount /dev/sdb1 /mnt/data
sudo umount /mnt/data
Walkthrough
Examples with explanations
findmnt # list current mounts
sudo mount /dev/sdb1 /mnt/data # mount a partition
sudo umount /mnt/data # unmount the partition
Reference
Common options and variations
| Command or option | Use |
|---|---|
findmnt | Show all mounts |
sudo mount /dev/sdb1 /mnt/data | Mount a filesystem |
sudo umount /mnt/data | Unmount it |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | findmnt |
Same command on this distribution. |
| Fedora | same command | findmnt |
Same command on this distribution. |
| Arch | same command | findmnt |
Same command on this distribution. |
Important
What to watch out for
Unmount a filesystem before disconnecting the device. A busy filesystem cannot be unmounted until applications release it.
Keep learning