fsspec / filesystem_spec

A specification that python filesystems should adhere to.
BSD 3-Clause "New" or "Revised" License
943 stars 342 forks source link

fsspec.fuse -f is inverted and hangs when specified #1586

Open mxmlnkn opened 2 months ago

mxmlnkn commented 2 months ago
echo bar > foo
tar -cf foo{.tar,}
python3 -m fsspec.fuse --version  # 2024.3.1
python3 -m fsspec.fuse --help
#  -f, --foreground      Running in foreground or not (Default: False)
python3 -m fsspec.fuse local foo.tar mounted  # Runs in the foreground contrary to the help message
python3 -m fsspec.fuse -f local foo.tar mounted # Finishes / moves itself into background

As the comments in the above reproducer state:

martindurant commented 2 months ago

The FUSE integration has long been flaky/experimental. You may well be right with your assessment, since these things are also tricky to test. I'd be happy to pass FUSE to another library :)

For the TAR file names, indeed that's a separate issue and can/should be fixed.