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

Why does mount2() not return in fuser but in libfuse #291

Open
kusnezoff-alexander opened this issue Aug 5, 2024 · 1 comment
Open

Why does mount2() not return in fuser but in libfuse #291

kusnezoff-alexander opened this issue Aug 5, 2024 · 1 comment

Comments

@kusnezoff-alexander
Copy link

As said in the docs: This function will not return until the filesystem is unmounted. (~see docs)

The reference implementation libfuse does in fact return after a mount so I would say this is some kind of unexpected behavior for this rust-implementation.

Is there a specific reason why mount2() is implemented to not return (unless unmounted) in fuser?

@cberner
Copy link
Owner

cberner commented Aug 6, 2024

The behavior you're looking for is provided by spawn_mount2()

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

No branches or pull requests

2 participants