Skip to content

Commit

Permalink
FUSE - Add removable drive option and use local drive as default type…
Browse files Browse the repository at this point in the history
… now.
  • Loading branch information
Liryna committed Nov 27, 2020
1 parent 094d53b commit 3915769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dokan_fuse/include/dokanfuse.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ struct fuse_config
int readonly;
int setsignals;
unsigned int timeoutInSec;
int removableDrive;
int networkDrive;
unsigned long allocationUnitSize;
unsigned long sectorSize;
Expand Down
2 changes: 2 additions & 0 deletions dokan_fuse/src/dokanfuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ static const struct fuse_opt fuse_lib_opts[] = {
FUSE_LIB_OPT("sector_size=%lu", sectorSize, 0),
FUSE_LIB_OPT("-n", networkDrive, 1),
FUSE_LIB_OPT("-m", mountManager, 1),
FUSE_LIB_OPT("-p", removableDrive, 1),
FUSE_OPT_END};

static void fuse_lib_help(void) {
Expand All @@ -624,6 +625,7 @@ static void fuse_lib_help(void) {
" -o sector_size=M set sector size\n"
" -n use network drive\n"
" -m use mount manager\n"
" -p use removable drive\n"
"\n");
}

Expand Down

0 comments on commit 3915769

Please sign in to comment.