fuse-rs icon indicating copy to clipboard operation
fuse-rs copied to clipboard

destroy() not being called.

Open dan-da opened this issue 4 years ago • 2 comments

I just implemented the destroy() fn, but in looking at the log output it is not called.

[2020-09-18T00:30:31.907799925Z DEBUG fuse::request] GETATTR(20) ino 0xad5d000000000002
[2020-09-18T00:30:31.907878978Z DEBUG safe_fs] getattr -- ino: 12492140941395623938
[2020-09-18T00:30:31.907992787Z DEBUG fuse::request] FLUSH(21) ino 0xad5d000000000002, fh 0, lock owner 12400250618348162377
[2020-09-18T00:30:31.908112358Z DEBUG fuse::request] RELEASE(22) ino 0xad5d000000000002, fh 0, flags 0x8000, release flags 0x0, lock owner 0
[2020-09-18T00:30:31.908210271Z DEBUG safe_fs] release -- ino=12492140941395623938, fh=0, flush=false
[2020-09-18T00:30:33.654077289Z DEBUG fuse::request] GETATTR(23) ino 0x0000000000000001
[2020-09-18T00:30:33.654250567Z DEBUG safe_fs] getattr -- ino: 1
[2020-09-18T00:30:36.750002585Z INFO  fuse::session] Unmounted /tmp/safe

I found this, which might possibly be relevant? https://github.com/libfuse/libfuse/issues/228

Is this known to be working?

I am using fuse = "0.3.1".

unmounted with: fusermount -u <path>

dan-da avatar Sep 18 '20 00:09 dan-da

any comment?

dan-da avatar Feb 11 '21 00:02 dan-da

I've no idea about the question, but maybe try https://github.com/cberner/fuser, which is a bit more active fork of this repo.

Minoru avatar Feb 11 '21 11:02 Minoru