catfs
catfs copied to clipboard
catfs always runs in foreground
./catfs /mnt/gsdata /tmp/catfsdata /mnt/data
Hangs in foreground, but works (mounted folder exists)
Version: downloaded as 0.8.0, reported 0.7.0 (see #12 )
Caching folder from mounted goofys S3 folder.
How to run it in background?
@ba1dr can you share more about your environment? In my testing catfs runs in the background by default but with -f
runs in the foreground. It might be worth setting RUST_LOG=debug
to see what is going on.
Sorry, this was reported almost 2 years ago. I have no access to that environment right now. I barely can remember details. It may worth closing this issue if noone else met such behaviour.
I get this as well. Debian 10, clean Rust environment, catfs-0.8.0.crate
Here's the output of the debug log:
2020-05-04 04:24:03 DEBUG - catfs "/home/user/tmp/source" "/home/user/tmp/cache"
2020-05-04 04:24:03 DEBUG - options are ["-o", "atomic_o_trunc", "-o", "default_permissions"]
2020-05-04 04:24:03 INFO - Mounting cached
2020-05-04 04:24:03 DEBUG - INIT(1) kernel: ABI 7.27, flags 0x3ffffb, max readahead 131072
2020-05-04 04:24:03 DEBUG - INIT(1) response: ABI 7.8, flags 0x1, max readahead 131072, max write 16777216
I see the same behavior and debug logs as @goncalopp on Ubuntu 18.04 after downloading the 0.8.0 release. Any other debug info I can gather that would be helpful?
Same issue for me building 0.8.0 on Amazon Linux 2, trying to cache an s3 bucket mounted via goofys.
It works (if I start catfs in its own terminal and use another terminal to browse the cached path) but catfs seems to always run in the foreground...