Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making and mounting a file system from cfe functional caused a reformat of RAM on MCP750 #1968

Open
skliper opened this issue Sep 21, 2021 · 0 comments
Labels

Comments

@skliper
Copy link
Contributor

skliper commented Sep 21, 2021

Describe the bug
See #1963. Note #1964 worked around the issue by just using existing ram, but OS_mkfs/OS_mount should have no impact on the existing drive(s).

To Reproduce
Run the old FS test that creates the additional mount and observe the reformat on MCP750.

#define OS_TEST_HEADER_FILENAME "/drive0/header_test.txt"
char *fsAddrPtr = NULL;
static osal_id_t setup_file(void)
{
osal_id_t id;
OS_mkfs(fsAddrPtr, "/ramdev1", "RAM", 512, 20);
OS_mount("/ramdev1", "/drive0");
UtAssert_INT32_EQ(OS_OpenCreate(&id, OS_TEST_HEADER_FILENAME, OS_FILE_FLAG_CREATE, OS_READ_WRITE), OS_SUCCESS);
return id;
}

Expected behavior
Shouldn't cause a reformat...

System observed on:

Additional context
None

Reporter Info
Jacob Hageman - NASA/GSFC

@skliper skliper added the bug label Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant