fuser icon indicating copy to clipboard operation
fuser copied to clipboard

Why does `mount2()` not return in `fuser` but in `libfuse`

Open kusnezoff-alexander opened this issue 1 year ago • 1 comments

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?

kusnezoff-alexander avatar Aug 05 '24 20:08 kusnezoff-alexander

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

cberner avatar Aug 06 '24 00:08 cberner