libgocryptfs/internal/syscallcompat
Jakob Unterwurzacher 538cae610c syscallcompat: Getdents: warn once if we get DT_UNKNOWN
...and if Getdents is not available at all.

Due to this warning I now know that SSHFS always returns DT_UNKNOWN:

    gocryptfs[8129]: Getdents: convertDType: received DT_UNKNOWN, falling back to Lstat

This behavoir is confirmed at http://ahefner.livejournal.com/16875.html:

    "With sshfs, I finally found that obscure case. The dtype is always set to DT_UNKNOWN [...]"
2017-09-03 15:05:54 +02:00
..
getdents_linux.go syscallcompat: Getdents: warn once if we get DT_UNKNOWN 2017-09-03 15:05:54 +02:00
getdents_other.go syscallcompat: implement Getdents() 2017-08-15 19:03:57 +02:00
getdents_test.go syscallcompat: implement Getdents() 2017-08-15 19:03:57 +02:00
sys_darwin.go main, syscallcompat: use Dup3 instead of Dup2 2017-06-18 15:43:22 +02:00
sys_linux.go main, syscallcompat: use Dup3 instead of Dup2 2017-06-18 15:43:22 +02:00