mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1963] Returning meaningful exit codes for errors earlier than FUSE init #993
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#993
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?
Originally created by @KomaGR on GitHub (Jun 13, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1963
Originally posted by @KomaGR in https://github.com/s3fs-fuse/s3fs-fuse/issues/1912#issuecomment-1096416640
Related to https://github.com/s3fs-fuse/s3fs-fuse/issues/1911.
Brief description:
I'm calling s3fs-fuse programmatically from another language (Go) using the execve pattern (and from Bash scripts, actually). I would like to be able to know when something went wrong by checking the exit code of the execve'd process (and to be able to discern meaning from the code).
The ideal scenario would be to also be able to get errors from FUSE and also for s3fs-fuse to block until the filesystem is mounted or an error forces it to exit. (The parent is
wait-ing for it to exit.)Am I thinking at this backwards? Should I be using some Go wrapper for s3fs-fuse (if such thing exists)?