summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--docs/Makefile.am3
-rw-r--r--docs/ifuse.145
3 files changed, 49 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 52d11cb..53cf2ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([strcasecmp strdup strerror strndup])
-AC_OUTPUT(Makefile src/Makefile)
+AC_OUTPUT(Makefile src/Makefile docs/Makefile)
echo "
Configuration for $PACKAGE $VERSION:
diff --git a/docs/Makefile.am b/docs/Makefile.am
new file mode 100644
index 0000000..5af0208
--- /dev/null
+++ b/docs/Makefile.am
@@ -0,0 +1,3 @@
+man_MANS = ifuse.1
+
+EXTRA_DIST = $(man_MANS)
diff --git a/docs/ifuse.1 b/docs/ifuse.1
new file mode 100644
index 0000000..27ea2d6
--- /dev/null
+++ b/docs/ifuse.1
@@ -0,0 +1,45 @@
+.TH "ifuse" 1
+.SH NAME
+ifuse \- Mount filesystem of an iPhone, iPod Touch, iPad or Apple TV.
+.SH SYNOPSIS
+.B ifuse <mount_point> [OPTIONS]
+
+.SH DESCRIPTION
+
+Mount filesystem of an iPhone, iPod Touch, iPad or Apple TV
+
+Example:
+
+ifuse /media/iPhone \-\-root
+
+This mounts the root filesystem of the first attached device on
+this computer in the directory /media/iPhone.
+
+
+.SH OPTIONS
+.TP
+.B \-o opt,[opt...]
+mount options.
+.TP
+.B \-u|\-\-uuid UUID
+mount specific device by its 40-digit device UUID.
+.TP
+.B \-h|\-\-help
+prints usage information.
+.TP
+.B \-V|\-\-version
+print version.
+.TP
+.B \-\-appid APPID
+mount 'Documents' folder of app identified by APPID.
+.TP
+.B \-\-root
+mount root file system (jailbroken device required).
+.TP
+.B \-\-debug
+enable libimobiledevice communication debugging.
+
+.SH AUTHOR
+Matt Colyer
+
+Man page written to conform with Debian by Julien Lavergne.