InuSasha lifes here

FFS Install & Configuration

From InuSasha

FFS Install & Configuration Download
FFS
none.png
Category: Filesystem, Fuse
Versions: stable: no one at the moment
development: 1.#.beta.1
Lizence: GPL v.2 or above
OS: Linux
and other with FUSE 2.6
Languages: German, English

Requirements

  • FUSE (>= 2.6)
  • libXML (>= 2.7)
Additional For Building
  • GCC (recommend 4.3)

Installation

The installation based on a Makefile.
So you only have to enter this two commands. Please install the requirements first ;).

make
make install

The executables will installed in the /usr/bin location.
To change to installation directory, set the "INSTALL_DEST" variable in the Makefile to your destination.

Configuration

Syntax of ffsmount:

ffsmount [mountpoint] [source] -c [configfile]


The configfile is in xml-format.
A empty configuration is listed here.

<?xml version="1.0" standalone="no" ?>
<!DOCTYPE ffs-filter PUBLIC "http://inusasha.de/dtd/ffs_1.0.dtd">

<ffs-filter version="1.0">
    <default access="deny" />
    <empty-dir show="no" />

    <filters>
    </filters>
</ffs-filter>

Tags:

  • default - The default access to a file. When a file do not set by an filter, this access will used.
    • accept - file is shown
    • deny - file is hidden
  • empty-dir - Enable/disable the access to empty directories.
    • yes - shows empty directories
    • no - hide empty directories
  • filters - The list with the filters.

Filters:

<filter access="accept">
    <filename>^Movie </filename>
</filter>

The access descripe, how hiten files will accessable (like default tag).

The childnode define the kind of the filter.
Posiible childs are:

  • filename - The value is a regulare expression. This must match with the name of the file. The path of the file is not used.
  • dirname - The value is a regulare expression. This must match a single directory name. It does not match with the path of the directory.
  • fullname - The value is a regulare expression. It mtaches the fullname of a file. This means the path and the filename is used. The root is the start point of the source tree.
  • user - This is the id of owner of the file or directory.
  • group - This is the id of group of the file or directory.
  • mode - This matches the mode of the file or directory, exacly. It is given in the octal syntax (for example: 644).

here is a little example.

Projects
π