Browse Source

Remove duplicate entries in docs

pull/1166/head
Antonio SJ Musumeci 2 years ago
parent
commit
cdcfef2ceb
  1. 2
      README.md
  2. 4
      man/mergerfs.1
  3. 21
      src/option_parser.cpp

2
README.md

@ -289,8 +289,6 @@ These options are the same regardless of whether you use them with the
`async_read=true` instead. `async_read=true` instead.
* **sync_read**: deprecated - Perform reads synchronously. Use * **sync_read**: deprecated - Perform reads synchronously. Use
`async_read=false` instead. `async_read=false` instead.
* **use_ino**: deprecated - Always enabled.
* **allow_other**: deprecated - Always enabled.
* **splice_read**: deprecated - Does nothing. * **splice_read**: deprecated - Does nothing.
* **splice_write**: deprecated - Does nothing. * **splice_write**: deprecated - Does nothing.
* **splice_move**: deprecated - Does nothing. * **splice_move**: deprecated - Does nothing.

4
man/mergerfs.1

@ -397,10 +397,6 @@ Use \f[C]async_read=true\f[R] instead.
\f[B]sync_read\f[R]: deprecated - Perform reads synchronously. \f[B]sync_read\f[R]: deprecated - Perform reads synchronously.
Use \f[C]async_read=false\f[R] instead. Use \f[C]async_read=false\f[R] instead.
.IP \[bu] 2 .IP \[bu] 2
\f[B]use_ino\f[R]: deprecated - Always enabled.
.IP \[bu] 2
\f[B]allow_other\f[R]: deprecated - Always enabled.
.IP \[bu] 2
\f[B]splice_read\f[R]: deprecated - Does nothing. \f[B]splice_read\f[R]: deprecated - Does nothing.
.IP \[bu] 2 .IP \[bu] 2
\f[B]splice_write\f[R]: deprecated - Does nothing. \f[B]splice_write\f[R]: deprecated - Does nothing.

21
src/option_parser.cpp

@ -245,6 +245,8 @@ usage(void)
" -o [opt,...] mount options\n" " -o [opt,...] mount options\n"
" -h --help print help\n" " -h --help print help\n"
" -v --version print version\n" " -v --version print version\n"
" -f run mergerfs in foreground\n"
" -d, -o debug enable debug output (enables -f)\n"
"\n" "\n"
"mergerfs options:\n" "mergerfs options:\n"
" <branches> ':' delimited list of directories. Supports\n" " <branches> ':' delimited list of directories. Supports\n"
@ -253,18 +255,31 @@ usage(void)
" -o func.FUNC=POLICY Set function FUNC to policy POLICY\n" " -o func.FUNC=POLICY Set function FUNC to policy POLICY\n"
" -o category.CAT=POLICY Set functions in category CAT to POLICY\n" " -o category.CAT=POLICY Set functions in category CAT to POLICY\n"
" -o fsname=STR Sets the name of the filesystem.\n" " -o fsname=STR Sets the name of the filesystem.\n"
" -o cache.open=INT 'open' policy cache timeout in seconds.\n"
" default = 0 (disabled)\n"
" -o read-thread-count=INT\n"
" Number of threads used to read from FUSE (and process)\n"
" * 0 = number of logical cores\n"
" * negative value = number of logical cores / abs(value)\n"
" * -1 in combination with process-thread-count=-1 will\n"
" split thread count among read and process threads\n"
" default=0\n"
" -o process-thread-count=INT\n"
" Same as read-thread-count but for FUSE message processing\n"
" If not set then read threads will do both read and process\n"
" -o cache.statfs=INT 'statfs' cache timeout in seconds. Used by\n" " -o cache.statfs=INT 'statfs' cache timeout in seconds. Used by\n"
" policies. default = 0 (disabled)\n" " policies. default = 0 (disabled)\n"
" -o cache.files=libfuse|off|partial|full|auto-full\n"
" -o cache.files=libfuse|off|partial|full|auto-full|per-process\n"
" * libfuse: Use direct_io, kernel_cache, auto_cache\n" " * libfuse: Use direct_io, kernel_cache, auto_cache\n"
" values directly\n" " values directly\n"
" * off: Disable page caching\n" " * off: Disable page caching\n"
" * partial: Clear page cache on file open\n" " * partial: Clear page cache on file open\n"
" * full: Keep cache on file open\n" " * full: Keep cache on file open\n"
" * auto-full: Keep cache if mtime & size not changed\n" " * auto-full: Keep cache if mtime & size not changed\n"
" * per-process: Enable caching for only for processes\n"
" which comm name match value in cache.files.process-names\n"
" default = libfuse\n" " default = libfuse\n"
" -o cache.files.process-names=STRLIST\n"
" Pipe delimited list of process comm names.\n"
" defulat=rtorrent|qbittorrent-nox\n"
" -o cache.writeback=BOOL\n" " -o cache.writeback=BOOL\n"
" Enable kernel writeback caching (if supported)\n" " Enable kernel writeback caching (if supported)\n"
" cache.files must be enabled as well.\n" " cache.files must be enabled as well.\n"

Loading…
Cancel
Save