catfs icon indicating copy to clipboard operation
catfs copied to clipboard

catfs always runs in foreground

Open ba1dr opened this issue 6 years ago • 5 comments

./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 avatar May 13 '18 18:05 ba1dr

@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.

gaul avatar Jan 26 '20 07:01 gaul

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.

ba1dr avatar Jan 26 '20 12:01 ba1dr

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

goncalopp avatar May 04 '20 03:05 goncalopp

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?

pjbull avatar Mar 01 '21 16:03 pjbull

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...

dprestegard avatar Jun 28 '22 19:06 dprestegard