Skip to content

Conversation

@Zfeather914
Copy link
Contributor

Summary

This Pull Request adds support for the -f (force) option to the NSH
umount command.
The enhancement allows users to perform forced unmount operations
by passing the MNT_FORCE flag through the new umount2() backend.

Impact

Users can now force an unmount using:
umount -f

adds support for the -f (force) option to the NSH umount command

Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com>
Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Zfeather914 very nice feature!

@xiaoxiang781216
Copy link
Contributor

Thank you @Zfeather914 very nice feature!

but @cederom could you remove the "requested change" mark since @Zfeather914 need update nuttx repo not nuttx-apps?

Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Zfeather914 :-)

@xiaoxiang781216
Copy link
Contributor

Thank you @Zfeather914 very nice feature!

@Zfeather914 please create a pr on nuttx repo to update the document.

@xiaoxiang781216 xiaoxiang781216 merged commit cfff7f5 into apache:master Dec 10, 2025
40 checks passed
Zfeather914 added a commit to Zfeather914/nuttx that referenced this pull request Dec 11, 2025
Reference:
apache/nuttx-apps#3240

Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com>
linguini1 pushed a commit to apache/nuttx that referenced this pull request Dec 11, 2025
Reference:
apache/nuttx-apps#3240

Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants