-
Notifications
You must be signed in to change notification settings - Fork 253
Description
Is your feature request related to a problem? Please describe.
Depending on the filesystem in use, the RTEMS statvfs() call might not be implemented at the filesystem level. In particular if it is called on the IMFS filesystem type, it returns an error and sets errno to ENOSYS.
OSAL translates any error here to OS_ERROR, which is what gets returned to the application.
Ultimately this causes the filesystem unit test to fail when this filesystem type is in use.
Describe the solution you'd like
Preferable to return OS_ERR_NOT_IMPLEMENTED in this case. In particular, unit tests already check for this, and will skip the test cases for this API, avoiding failure. This makes it a soft error.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
Reactions are currently unavailable