X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=sys%2Fman%2F4%2Fsshfs;h=1ad8a7c669772cb3b491b0404fb984fa67970853;hb=831291e5dd0877cc130f168a487531fd4a8c410b;hp=d86d74fefb095d527aad86d75c4e98cd285dcdd9;hpb=d5cf062e7a0e3a6b2c2939c7615ffd722cdbf1a8;p=plan9front.git diff --git a/sys/man/4/sshfs b/sys/man/4/sshfs index d86d74fef..1ad8a7c66 100644 --- a/sys/man/4/sshfs +++ b/sys/man/4/sshfs @@ -64,9 +64,9 @@ Unless .B -M is specified, .I sshfs -will mount itself under the mountpoint specified by +will mount itself at the mountpoint specified by .IR mtpt , -or under +or at .B /n/ssh if .B -m @@ -82,8 +82,6 @@ and .B -b have the same function as they do with .IR mount . -The default remote root is the user's home directory but can be changed with -.BR -r . .PP If .B -s @@ -92,11 +90,21 @@ it will post itself in .IR srv (3) with service name .IR service . -If the service file is mounted, the -.IR attach (5) -name can be used to specify which directory on the remote host will be mounted. -If it is omitted or empty, the user's home directory is used. -Relative paths are also relative to this directory. +If the service file is mounted, the attach name (the third argument to +.IR mount (1)) +can be used to specify which directory on the remote host will be mounted. +.PP +By default, relative paths are assumed relative to the user's home directory. +The +.B -r +option can be used to specify an alternative base for relative paths. +The initial mount at +.B -m +also uses this directory. +If an attach name starts with +.BR ~ , +the user's home directory is substituted for +.BR ~ . .PP Since the only supported version 3 of the SFTP protocol has no way to look up numeric user and group IDs, .I sshfs