Skip to content

Instantly share code, notes, and snippets.

@szilvaa
szilvaa / ls_command.trace
Created February 19, 2018 22:34
WSL directory symlink issue
31692 execve("/bin/ls", ["ls", "-l", "/mnt/c/AppData"], [/* 16 vars */]) = 0
31692 brk(NULL) = 0x200d000
31692 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
31692 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
31692 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
31692 fstat(3, {st_mode=S_IFREG|0644, st_size=34037, ...}) = 0
31692 mmap(NULL, 34037, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4d56d3b000
31692 close(3) = 0
31692 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
31692 open("/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3