@@ -32,6 +32,32 @@ import (
3232
3333// winfsp/cgofuse interface to the file system
3434
35+ const fuseOptions = `WinFSP options:
36+ -o umask=MASK set file permissions (octal)
37+ -o FileSecurity=SDDL set file DACL (SDDL format)
38+ -o create_umask=MASK set newly created file permissions (octal)
39+ -o create_file_umask=MASK for files only
40+ -o create_dir_umask=MASK for directories only
41+ -o uid=N set file owner (default is mounting user id)
42+ -o gid=N set file group (default is mounting user group)
43+ -o rellinks interpret absolute symlinks as volume relative
44+ -o dothidden dot files have the Windows hidden file attrib
45+ -o volname=NAME set volume label
46+ -o VolumePrefix=UNC set UNC prefix (/Server/Share)
47+ -o FileSystemName=NAME set file system name (use NTFS to run executables)
48+ -o debug enable debug output
49+ -o DebugLog=FILE debug log file (requires -o debug)
50+ WinFSP advanced options:
51+ -o FileInfoTimeout=N metadata timeout (millis, -1 for data caching)
52+ -o DirInfoTimeout=N directory info timeout (millis)
53+ -o EaTimeout=N extended attribute timeout (millis)
54+ -o VolumeInfoTimeout=N volume info timeout (millis)
55+ -o KeepFileCache do not discard cache when files are closed
56+ -o LegacyUnlinkRename do not support new POSIX unlink/rename
57+ -o ThreadCount number of file system dispatcher threads
58+ -o uidmap=UID:SID[;...] explicit UID <-> SID map (max 8 entries)
59+ ` ;
60+
3561type GoofysWin struct {
3662 fuse.FileSystemBase
3763 * Goofys
0 commit comments