Add Darwin/OS X specific information to man page

* Volumes are unmounted using "umount" not "fusermount"

* idmap=user is the deafault setting on Darwin/OS X
This commit is contained in:
Benjamin Fleischer 2012-03-11 16:11:08 +01:00
parent 3c44e22ddd
commit f4631f0a17
3 changed files with 17 additions and 1 deletions

1
.gitignore vendored
View File

@ -20,6 +20,7 @@ Makefile
*.m4
stamp-h*
config.*
sshfs.1
/sshfs
/ltmain.sh
/configure

View File

@ -12,10 +12,13 @@ sshfs_CFLAGS = $(SSHFS_CFLAGS)
sshfs_CPPFLAGS = -D_REENTRANT -DFUSE_USE_VERSION=26 -DLIBDIR=\"$(libdir)\"
EXTRA_DIST = sshnodelay.c FAQ.txt
CLEANFILES = sshnodelay.so
CLEANFILES = sshnodelay.so sshfs.1
dist_man_MANS = sshfs.1
sshfs.1:
$(CPP) $(CPPFLAGS) -P -xassembler-with-cpp sshfs.1.in | sed -e '/^$$/d' > sshfs.1
if SSH_NODELAY_SO
all-local: sshnodelay.so

View File

@ -7,7 +7,11 @@ SSHFS \- filesystem client based on ssh
\fBsshfs\fP [\fIuser\fP@]\fBhost\fP:[\fIdir\fP] \fBmountpoint\fP [\fIoptions\fP]
.SS unmounting
.TP
#ifdef __APPLE__
\fBumount mountpoint\fP
#else
\fBfusermount -u mountpoint\fP
#endif
.SH DESCRIPTION
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other
operating systems with a FUSE implementation, such as Mac OS X or FreeBSD)
@ -98,10 +102,18 @@ user/group ID mapping, possible types are:
.RS 8
.TP
none
#ifdef __APPLE__
no translation of the ID space
#else
no translation of the ID space (default)
#endif
.TP
user
#ifdef __APPLE__
only translate UID/GID of connecting user (default)
#else
only translate UID of connecting user
#endif
.TP
file
translate UIDs/GIDs based upon the contents of \fBuidfile \fR and