python - fuse utimensat problem -


I am developing fuse FS (with fuses-time bindings) on Python. Which method do I need to implement for working touch ? Currently I have the next output:

  $ touch m / my \ files / d3elete1.me touch: `m / files / d3elete1.me 'setting time: invalid argument  

File exists "d3elete1.me":

  $ ls -lm / my files / d3elete1.me -rw-rw-rw-1 root root 0 July 28 15:28 m / My files / d3elete1.me  

In addition, I was trying to find system calls:

  $ Strace touch m / my \ files / D3elete1.me ... open ("m / my files / d3elete1.me", O_WRONLY | O_CREAT | O_NOCTTY | O_NONBLOCK | O_LARGEFILE, 0666) = 3 duplicates (3, 0) = 0 off (3) = 0 utility (0, shoe New, zero, 0) = -1 inward (invalid argument) closed (0) = 0 ...  

As you are seeing utimensat failed . I was trying to implement empty utimens and utime but it has not been called too.

Try launching the fuses with the -f option. The fuse will remain in the foreground and you can see the errors in the console.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -