Detach a mounted filesystem.
Section: Mount and Unmount
Unmount by mountpoint
bash
bash
sudo umount /mnt/dataExplanation
Detach a mounted filesystem.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Mount and Unmount
Lazy unmount a busy mount
Detach the mount now and clean up after current users release it.
Show processes using a mountpoint
Helpful before an unmount that fails with target is busy.
Mount a device to a directory
Mount a block device using filesystem auto-detection.
Mount a filesystem read-only
Useful for safe inspection or recovery work.