mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
memfs: memfs-main.c
This commit is contained in:
parent
1876aff99c
commit
b92e49ae6c
@ -52,12 +52,12 @@ static void usage(void)
|
|||||||
"usage: %s OPTIONS\n"
|
"usage: %s OPTIONS\n"
|
||||||
"\n"
|
"\n"
|
||||||
"options:\n"
|
"options:\n"
|
||||||
" -t FileInfoTimeout (millis)\n"
|
" -t FileInfoTimeout [millis]\n"
|
||||||
" -n MaxFileNodes\n"
|
" -n MaxFileNodes\n"
|
||||||
" -s MaxFileSize (bytes)\n"
|
" -s MaxFileSize [bytes]\n"
|
||||||
" -S RootSddl (file rights: FA, etc; NO generic rights: GA, etc.)\n"
|
" -S RootSddl [file rights: FA, etc; NO generic rights: GA, etc.]\n"
|
||||||
" -u \\\\Volume\\Prefix\n"
|
" -u \\Server\\Share [UNC prefix (single backslash)]\n"
|
||||||
" -m MountPoint (X:)\n";
|
" -m MountPoint [X:]\n";
|
||||||
|
|
||||||
warn(usage, PROGNAME);
|
warn(usage, PROGNAME);
|
||||||
exit(2);
|
exit(2);
|
||||||
@ -97,7 +97,7 @@ int wmain(int argc, wchar_t **argv)
|
|||||||
ULONG Flags = MemfsDisk;
|
ULONG Flags = MemfsDisk;
|
||||||
ULONG FileInfoTimeout = INFINITE;
|
ULONG FileInfoTimeout = INFINITE;
|
||||||
ULONG MaxFileNodes = 1024;
|
ULONG MaxFileNodes = 1024;
|
||||||
ULONG MaxFileSize = 1024 * 1024;
|
ULONG MaxFileSize = 16 * 1024 * 1024;
|
||||||
PWSTR MountPoint = 0;
|
PWSTR MountPoint = 0;
|
||||||
PWSTR VolumePrefix = 0;
|
PWSTR VolumePrefix = 0;
|
||||||
PWSTR RootSddl = 0;
|
PWSTR RootSddl = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user