Displaying 2 results from an estimated 2 matches for "2116736".
2018 Feb 02
2
Does samba support fsync() a directory?
...73077, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f27a256b000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\34\2\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2116736, ...}) = 0
mmap(NULL, 3932672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f27a1f9e000
mprotect(0x7f27a2154000, 2097152, PROT_NONE) = 0
mmap(0x7f27a2354000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f27a2354000
mmap(0x7f27a235a000, 16896, P...
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 |