Skip to content

Conversation

@Koichi98
Copy link
Contributor

@Koichi98 Koichi98 commented Jun 27, 2025

Description

Initially, in PR #482 , I have placed the fatfs Error type(error.rs) in awkernel_lib/src/file/, not in awkernel_lib/src/file/fatfs/. The intention was to use it as the generic filesystem Error type for Awkernel. However, with the introduction of VFS (Virtual File System), the error type returned to user applications became VfsError. Therefore, I reverted the original Error type back to being fatfs specific.

Moving forward, each filesystem will maintain its own unique error type. We'll then define conversion functions (From) between these specific error types and VfsError, allowing VfsError to be returned consistently.

Related links

PR #511

How was this PR tested?

Notes for reviewers

Koichi98 added 8 commits June 28, 2025 01:49
Signed-off-by: Koichi <[email protected]>
Signed-off-by: Koichi <[email protected]>
Signed-off-by: Koichi <[email protected]>
Signed-off-by: Koichi <[email protected]>
Signed-off-by: Koichi <[email protected]>
@Koichi98 Koichi98 changed the base branch from main to fix/delete_std_feat_fatfs June 28, 2025 09:35
@Koichi98 Koichi98 self-assigned this Jun 28, 2025
Base automatically changed from fix/delete_std_feat_fatfs to main July 1, 2025 02:15
@Koichi98 Koichi98 marked this pull request as ready for review July 1, 2025 03:06
@Koichi98 Koichi98 requested review from veqcc and ytakano July 1, 2025 03:06
@ytakano ytakano merged commit e215dcc into main Jul 1, 2025
1 check passed
@ytakano ytakano deleted the fix/error_for_fatfs branch July 1, 2025 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants