search for: 9sync

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

Did you mean: sync
2018 Feb 02
2
Does samba support fsync() a directory?
...{st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f27a257c000 write(1, "open aaa\n", 9open aaa ) = 9 open("aaa", O_RDONLY|O_DIRECTORY) = 3 write(1, "sync aaa\n", 9sync aaa ) = 9 fsync(3) = -1 EINVAL (Invalid argument) dup(2) = 4 fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) brk(0) = 0x8ce000 brk(0x8ef000)...
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 |