From 6b946121598149aab9f9a08260858e6b1b272b27 Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 21 Mar 2023 04:49:45 +0100 Subject: [PATCH] disk-management: add umount --- wiki/linux/disk-management.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/wiki/linux/disk-management.md b/wiki/linux/disk-management.md index 3213d40..233ff24 100644 --- a/wiki/linux/disk-management.md +++ b/wiki/linux/disk-management.md @@ -42,6 +42,13 @@ The dump flag signals if the file system should be dumped. The `fsck` order signals if a file system should be checked at boot. Boot partitions should be flagged with a `1` for this reason, otherwise `0`. +For undoing the mount the `umount` command can be used. +The following is a command to unmount a device from a specified directory. + +```sh +umount +``` + ## Create Partition In the following it is assumed that the disk is `/dev/sda` @@ -122,13 +129,13 @@ This error can be fixed and the directory made accessible again by running the following command. ```sh -fusermount -u +fusermount -u ``` If this does not work the following command can be used to unmount the device. ```sh -umount -l +umount -l ``` This section is based on a reply by