summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2017-04-29 18:44:01 +0000
committeraiju <devnull@localhost>2017-04-29 18:44:01 +0000
commitca2fa9596b5d0d893be28c6e8fd8a52a89a0c3c6 (patch)
tree4b927da233a228a07de990f1b12334da9fd2929d /sys/man/4
parentb4b2cd72b0e674300e5ec0030967621a05049c35 (diff)
sshfs: add -r and -M options
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/sshfs20
1 files changed, 17 insertions, 3 deletions
diff --git a/sys/man/4/sshfs b/sys/man/4/sshfs
index 5165b3740..6e5d82efa 100644
--- a/sys/man/4/sshfs
+++ b/sys/man/4/sshfs
@@ -4,7 +4,7 @@ sshfs - secure file transfer protocol client
.SH SYNOPSIS
.B sshfs
[
-.B -abdRUG
+.B -abdRUGM
]
[
.B -s
@@ -15,6 +15,10 @@ sshfs - secure file transfer protocol client
.I mtpt
]
[
+.B -r
+.I root
+]
+[
.B -u
.I uidfile
]
@@ -56,7 +60,10 @@ is specified,
.I sshfs
communicates with an SFTP server via stdin and stdout.
.PP
-.I Sshfs
+Unless
+.B -M
+is specified,
+.I sshfs
will mount itself under the mountpoint specified by
.IR mtpt ,
or under
@@ -73,6 +80,8 @@ and
.B -b
have the same function as they do with
.IR mount (1).
+The default remote root is the user's home directory but can be changed with
+.BR -r .
.PP
If
.B -s
@@ -108,7 +117,7 @@ If these files cannot be accessed for any reason, numeric IDs simply remain untr
Further options:
.TP
-R
-Read-only access only.
+Read access only.
.TP
-d
Enable debugging output.
@@ -125,6 +134,11 @@ In particular there is no guarantee that a failed
did not change some of the fields.
.PP
The code is naive about links and assumes files with distinct names to be distinct, assigning them different QIDs.
+.PP
+File names with null bytes in them will confuse
+.I sshfs.
+.I Sshfs
+should probably escape them, as well as control characters that might confuse other software.
.SH HISTORY
.I
Sshfs