[FUSE] Complete Error to Errno mapping for filesystem mounts #18
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
geomind_code/my_fs#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
Errorenum insrc/error.rsprovides ato_errno()method for FUSE compatibility, but many variants return a genericEIOor are incorrectly mapped.Issue: Users mounting the FS via FUSE see deceptive error messages (e.g., IO Error when it is actually Permission Denied).
Proposed Fix: Map specific error variants (like missing files or storage limits) to their appropriate
libccounterparts (ENOENT, EDQUOT, EACCES, etc.).