mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: ntptfs: ExtraFeatures
This commit is contained in:
parent
1ef85d5d3a
commit
eaa5fa8043
@ -116,7 +116,13 @@ static NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
|
|||||||
break;
|
break;
|
||||||
case L'o':
|
case L'o':
|
||||||
argtos(OptionString);
|
argtos(OptionString);
|
||||||
if (0 == _wcsicmp(L"ReparsePoints", OptionString))
|
if (0 == _wcsicmp(L"ExtraFeatures", OptionString))
|
||||||
|
FsAttributeMask |=
|
||||||
|
PtfsReparsePoints |
|
||||||
|
PtfsNamedStreams |
|
||||||
|
PtfsExtendedAttributes |
|
||||||
|
PtfsWslFeatures;
|
||||||
|
else if (0 == _wcsicmp(L"ReparsePoints", OptionString))
|
||||||
FsAttributeMask |= PtfsReparsePoints;
|
FsAttributeMask |= PtfsReparsePoints;
|
||||||
else if (0 == _wcsicmp(L"NamedStreams", OptionString))
|
else if (0 == _wcsicmp(L"NamedStreams", OptionString))
|
||||||
FsAttributeMask |= PtfsNamedStreams;
|
FsAttributeMask |= PtfsNamedStreams;
|
||||||
@ -244,12 +250,11 @@ usage:
|
|||||||
" -d DebugFlags [-1: enable all debug logs]\n"
|
" -d DebugFlags [-1: enable all debug logs]\n"
|
||||||
" -D DebugLogFile [file path; use - for stderr]\n"
|
" -D DebugLogFile [file path; use - for stderr]\n"
|
||||||
" -t FileInfoTimeout [millis]\n"
|
" -t FileInfoTimeout [millis]\n"
|
||||||
" -o ReparsePoints\n"
|
" -o ExtraFeatures [extra Windows file system features]\n"
|
||||||
" -o NamedStreams\n"
|
" -o ReparsePoints\n"
|
||||||
" -o ExtendedAttributes\n"
|
" -o NamedStreams\n"
|
||||||
" -o WslFeatures\n"
|
" -o ExtendedAttributes\n"
|
||||||
" -o FlushAndPurgeOnCleanup\n"
|
" -o WslFeatures\n"
|
||||||
" -o SetAllocationSizeOnCleanup\n"
|
|
||||||
" -u \\Server\\Share [UNC prefix (single backslash)]\n"
|
" -u \\Server\\Share [UNC prefix (single backslash)]\n"
|
||||||
" -p Directory [directory to expose as pass through file system]\n"
|
" -p Directory [directory to expose as pass through file system]\n"
|
||||||
" -m MountPoint [X:|*|directory]\n";
|
" -m MountPoint [X:|*|directory]\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user