search for: 27sync

Displaying 2 results from an estimated 2 matches for "27sync".

Did you mean: 20async
2018 Feb 02
2
Does samba support fsync() a directory?
...0) = 0x8ef000 brk(0) = 0x8ef000 fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f27a257b000 write(4, "sync aaa: Invalid argument\n", 27sync aaa: Invalid argument ) = 27 close(4) = 0 munmap(0x7f27a257b000, 4096) = 0 write(1, "OK\n", 3OK ) = 3 exit_group(0) = ? +++ exited with 0 +++ ``` Best Regards Cao 在 2018年02月02日 20:54, Jeremy Allison...
2018 Feb 02
4
Does samba support fsync() a directory?
Hi group: I need some help! I use samba 4.5.8 And I mount a samba directory from CentOS 7. When I run such program in the mounted directory: ``` #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <fcntl.h> #include <string.h> int main() { printf("open aaa\n"); int fd = open("aaa", O_RDONLY |