1 min read

How to unmount a disk in Linux

How to unmount a disk in Linux
Photo by Lukas / Unsplash

When you stop using a disk in Linux, you have to unmount it in order to completely close access to it and avoid corrupting the data when shutting down. For this purpose there is a utility called umount which is started from the terminal.

In this article we will go over its syntax and options. At the same time we will learn how to unmount a disk in Linux. For the sake of convenience we will describe it with examples.