Artifact [657e169f1e]

Artifact 657e169f1ea74e6d2d911631774891520370196e:

Wiki page [Manual] by rkeene on 2014-12-29 04:31:46.
D 2014-12-29T04:31:46.709
L Manual
P e1c93024a9f90fa77d4c81fbaeac5631dd9a70e0
U rkeene
W 2827
<H2>NAME</H2>
appfsd, mount.appfs - AppFS FUSE Daemon
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>appfsd &#91;-dfsh&#93; [-o </B><I>option</I><B>[,</B><I>...</I><B>]] </B><I>cachedir</I><B> </B><I>mount_point</I>
<BR>
<B>mount.appfs &#91;-dfsh&#93; [-o </B><I>option</I><B>[,</B><I>...</I><B>]] </B><I>cachedir</I><B> </B><I>mount_point</I>
<P>
<A NAME="lbAD">&nbsp;</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">&nbsp;</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 &quot;<B>-s</B>&quot; 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">&nbsp;</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">&nbsp;</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">&nbsp;</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 cab688ba885c3d1552e49ecfae03dadc