From 838ac0322a03efc718f6eb8ab70ae4810f6fa993 Mon Sep 17 00:00:00 2001 From: tianci Date: Sun, 10 Mar 2024 12:58:48 +0800 Subject: [PATCH 1/2] Additional description of the file system mount options --- docs/books/admin_guide/07-file-systems.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/books/admin_guide/07-file-systems.md b/docs/books/admin_guide/07-file-systems.md index 27b2cf70b7..7d8884de4c 100644 --- a/docs/books/admin_guide/07-file-systems.md +++ b/docs/books/admin_guide/07-file-systems.md @@ -616,16 +616,16 @@ Example: | Option | Description | |--------|--------------------------------------------------------------------------------| -| `-n` | Sets mount without writing to `/etc/mtab`. | -| `-t` | Indicates the type of file system to use. | +| `-n` | Sets mount without writing to `/etc/mtab`. | +| `-t` | Indicates the type of file system to use. | | `-a` | Mounts all filesystems mentioned in `/etc/fstab`. | | `-r` | Mounts the file system read-only (equivalent to `-o ro`). | | `-w` | Mounts the file system read/write, by default (equivalent `-o rw`). | -| `-o` | Argument followed by a comma-separated list of options (`remount`, `ro`, ...). | +| `-o opts` | The opts argument is a comma-separated list(`remount`, `ro`, ...). | !!! Note - The `mount` command alone displays all mounted file systems. + The `mount` command alone displays all mounted file systems. If the mount parameter is `-o defaults`, it means that it is equivalent to `-o rw,suid,dev,exec,auto,nouser,async` and these parameters are independent of the file system. If you need to browse special mount options related to the file system, please read the "Mount options FS-TYPE" section in `man 8 mount` (FS-TYPE is replaced with the corresponding file system, such as ntfs, vfat, ufs, etc.) #### `umount` command From 5831336664c7795bacee8e5ccd8ee225d055fbb9 Mon Sep 17 00:00:00 2001 From: Antoine Le Morvan Date: Sun, 10 Mar 2024 18:22:53 +0100 Subject: [PATCH 2/2] Update docs/books/admin_guide/07-file-systems.md --- docs/books/admin_guide/07-file-systems.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/books/admin_guide/07-file-systems.md b/docs/books/admin_guide/07-file-systems.md index 7d8884de4c..df6513cd84 100644 --- a/docs/books/admin_guide/07-file-systems.md +++ b/docs/books/admin_guide/07-file-systems.md @@ -621,7 +621,7 @@ Example: | `-a` | Mounts all filesystems mentioned in `/etc/fstab`. | | `-r` | Mounts the file system read-only (equivalent to `-o ro`). | | `-w` | Mounts the file system read/write, by default (equivalent `-o rw`). | -| `-o opts` | The opts argument is a comma-separated list(`remount`, `ro`, ...). | +| `-o opts` | The opts argument is a comma-separated list (`remount`, `ro`, ...). | !!! Note