Skip to content

Closing all handles for red_unmount() #22

Answered by Tuxera-TonyQ
Tuxera-TonyQ asked this question in Q&A
Discussion options

You must be logged in to vote

Greetings,

The upcoming Reliance Edge v2.5 release adds a red_umount2() API which has a “force” flag that can be used to automatically close every single file and directory.

/** Force unmount, closing all open handles. */
#define RED_UMOUNT_FORCE 0x00000001U

int32_t red_umount2(
const char *pszVolume,
uint32_t ulFlags);

In Reliance Edge v2.4, there isn’t a way to unmount without closing the handles.

Replies: 1 comment

Comment options

Tuxera-TonyQ
Feb 10, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by Tuxera-TonyQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant