.
D 2014-12-29T04:33:10.920
L Manual
P 657e169f1ea74e6d2d911631774891520370196e
U rkeene
W 2859
<H2>NAME</H2>
appfsd, mount.appfs - AppFS FUSE Daemon
<P>
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>appfsd [-dfsh] [-o </B><I>option</I><B>[,</B><I>...</I><B>]] </B><I>cachedir</I><B> </B><I>mount_point</I>
<BR>
<B>mount.appfs [-dfsh] [-o </B><I>option</I><B>[,</B><I>...</I><B>]] </B><I>cachedir</I><B> </B><I>mount_point</I>
<P>
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
AppFS is a FUSE-based filesystem to present a manifest-based package format
from remote servers to the local system. It works over HTTP (by default,
at least). Remote sites are identified at the top-level of the mounted
directory and all sites are verified by PKI signature.
<P>
AppFS is started with the <B>appfsd</B> daemon, which may also be named
<B>mount.appfs</B>.
<P>
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>-d</B>
<DD>
Enable FUSE debug mode.
<P>
<DT><B>-f</B>
<DD>
Run AppFS daemon in the foreground.
<P>
<DT><B>-s</B>
<DD>
Enable single threaded mode. This will significantly reduce performance and
responsiveness.
<P>
<DT><B>-h</B>
<DD>
Request usage help.
<P>
<DT><B>-o nothreads</B>
<DD>
Enable single threaded mode. This will significantly reduce performance and
responsiveness.
This is the same as the "<B>-s</B>" option, provided for use in an
<I>/etc/fstab</I> option.
<P>
<DT><B>-o allow_other</B>
<DD>
Allow other users to access this mountpoint (this is the default if the user
running <B>appfsd</B> is root).
<P>
<DT><I>cachedir</I>
<DD>
Path to a directory to store cache database and read configuration file from.
A suggested value for this for a system-wide <B>appfsd</B> is
<I>/var/cache/appfs</I>.
<P>
<DT><I>mount_point</I>
<DD>
Path to mount AppFS onto in the filesystem. This should almost always be
<I>/opt/appfs</I>.
<P>
</DL>
<A NAME="lbAF"> </A>
<H2>FILES</H2>
<DL COMPACT>
<DT><I>cachedir</I><B>/config</B>
<DD>
Configuration file for this instance of AppFS. This should be a valid
<B><A HREF="http://www.tcl.tk/man/tcl8.6/TclCmd/Tcl.htm">Tcl</A></B>(n)
script. The configuration file can be modified at run-time and <B>appfsd</B>
reloaded by sending it a <B>SIGHUP</B>.
<P>
<DT><I>cachedir</I><B>/cache.db</B>
<DD>
SQLite3 database used for maintaining metadata for the cache directory.
<P>
</DL>
<A NAME="lbAG"> </A>
<H2>EXAMPLES</H2>
The most recommended method of running AppFS (directly):
<P>
<PRE>
<DL COMPACT><DT><DD># mkdir /opt/appfs
# appfsd /var/cache/appfs /opt/appfs
</DL>
</PRE>
<P>
Create an <I>/etc/fstab</I> entry:
<P>
<PRE>
<DL COMPACT><DT><DD>/var/cache/appfs /opt/appfs appfs defaults 0 0
</DL>
</PRE>
<P>
<A NAME="lbAH"> </A>
<H2>SEE ALSO</H2>
<B><A HREF="http://www.tcl.tk/man/tcl8.6/TclCmd/Tcl.htm">Tcl</A></B>(n)<B>,</B>
<B><A HREF="http://linux.die.net/man/1/sqlite3">sqlite3</A></B>(1)
<P>
Z 688e773e8f3c1b909a6de86fd188c19c