NAME

tmfs - Mount Topic Map as Filesystem

SYNOPSIS

tmfs [options] <mapfile> </path/to/mountpoint>

DESCRIPTION

tmfs is a frontend for Fuse::TM for mounting a Topic Map at a particular mountpoint. Any map format known to TM is supported (e.g. AsTMa, LTM, CTM, XTM and MLDBM).

When run without options, tmfs mounts the given mapfile read-only at the ountpoint and blocks until an unmount is triggered (see fusermount).

See Fuse::TM for description of the filesystem layout.

OPTIONS

-d N

Debugging. Set N=1 for internal debugging, N=2 for Fuse debugging as well.

-b

Fork and Background before mounting.

-h

Hide infrastructure topics.

-w

Read-write mode.

-W

Read-write mode with topic autogeneration for implied topics.

-o URI

Sets the output URI for write mode. See Fuse::TM and TM::Serializable for details.

-i DRIVERNAME

Overrides the file extension-based guessing of the input driver backend. Must be the name of a TM class that supports sync_in.

-l

Shows the default list of file extensions and associated input drivers, then exits.

-e DRIVERNAME

Overrides the output driver backend. If not given the input driver will be used.

Note that if you override this, you must use TM::Synchronizable::XX (for MLDBM) and TM::Serializable::XX (for text-based formats) drivers instead of TM::Materialized::XX. This makes little sense, but that's the way the TM module universe is structured (see TM::FAQ).

SEE ALSO

Fuse::TM(3), TM(3)

AUTHOR

Alexander Zangerl, <alphazulu@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2009 Alexander Zangerl

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.