some ideas ?
strace follows
Is someone working on the same ?
I just created a GentooWiki for CacheFS
http://gentoo-wiki.com/HOWTO_CacheFS
thanks
Andy
strace cachefilesd -s
execve("/sbin/cachefilesd", ["cachefilesd", "-s"], [/* 45 vars */]) = 0
brk(0) = 0x8056000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=73935, ...}) = 0
mmap2(NULL, 73935, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f2e000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300Y\1"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1197180, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f2d000
mmap2(NULL, 1168764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e0f000
mmap2(0xb7f26000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x116) = 0xb7f26000
mmap2(0xb7f2a000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0xb7f2a000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e0e000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e0e6b0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
mprotect(0xb7f26000, 8192, PROT_READ) = 0
mprotect(0xb7f5c000, 4096, PROT_READ) = 0
munmap(0xb7f2e000, 73935) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
setresuid32(0, 0, 0) = 0
setresgid32(0, 0, 0) = 0
sync() = 0
open("/proc/fs/cachefiles", O_RDWR) = -1 ENOENT (No such file or
directory)
write(2, "Unable to open /proc/fs/cachefil"..., 72Unable to
open /proc/fs/cachefiles: errno 2 (No such file or directory)
) = 72
exit_group(1) = ?
Process 4284 detached
--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs