#917376 Please document default values of all options

Package:
sshfs
Source:
sshfs-fuse
Description:
filesystem client based on SSH File Transfer Protocol
Submitter:
Witold Baryluk
Date:
2018-12-26 20:45:04 UTC
Severity:
normal
#917376#5
Date:
2018-12-26 20:44:12 UTC
From:
To:
Out of about 50 sshfs and fuse options accessible via sshfs command, (and some
more via ssh options), only few actually specify their default values.

Some of the defaults comes from the ssh default (which can be changed via user or
system client config files), but a lot of the defaults is under control of sshfs,
or can be infered by the software.

The problem is, that even running sshfs in debug mode, it is impossible to tell
which options are in effect in default configuration.

Examples:

    -o reconnect           reconnect to server

(it is off by default. change of default is considered upstream, one way or another
default should be documented.)


    -C                     equivalent to '-o compression=yes'

(it is on by default, because of how ssh behaves by default, I wish it was not on
by default, but this is beyond the point. should be documented some way).

    -p PORT                equivalent to '-o port=PORT'

default is 22, obviously (can probably be overrided in ssh config, but it should
be documented).

    -o cache_X_timeout=N   sets timeout for {stat,dir,link} cache

no idea what is a default

    -o [no_]splice_read    use splice to read from the fuse device

no idea what is a default

    -o big_writes          enable larger than 4kB writes

no idea.

    -o kernel_cache        cache files in kernel

no idea.

    -o transform_symlinks  transform absolute symlinks to relative
    -o follow_symlinks     follow symlinks on the server

which one is default, or none of them?


and so one.


Best regards,
Witold