This is an automated email from the ASF dual-hosted git repository.
linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new dd76bf54d1d Documentation: add '-f' description for umount command
dd76bf54d1d is described below
commit dd76bf54d1d2582a48676ffb30cf431a5e1d908c
Author: zhengyu16 <[email protected]>
AuthorDate: Thu Dec 11 20:25:31 2025 +0800
Documentation: add '-f' description for umount command
Reference:
https://github.com/apache/nuttx-apps/pull/3240
Signed-off-by: zhengyu16 <[email protected]>
---
Documentation/applications/nsh/commands.rst | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/applications/nsh/commands.rst
b/Documentation/applications/nsh/commands.rst
index 120ab94d629..d1b5a0b9065 100644
--- a/Documentation/applications/nsh/commands.rst
+++ b/Documentation/applications/nsh/commands.rst
@@ -1725,12 +1725,18 @@ reads as zero bytes.
**Command Syntax**::
- umount <dir-path>
+ umount [-f] <dir-path>
**Synopsis**. Un-mount the file system at mount point ``<dir-path>``.
The ``umount`` command can only be used to un-mount volumes previously
mounted using :ref:`mount <cmdmount>` command.
+**Options**
+
+====== ======================================================
+``-f`` Force unmounting of the filesystem even if it is busy.
+====== ======================================================
+
**Example**::
nsh> ls /mnt/fs