File: getting_started.txt

package info (click to toggle)
python-llfuse 0.40-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,400 kB
  • ctags: 5,474
  • sloc: python: 1,240; ansic: 139; makefile: 65
file content (20 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.. _getting_started:

=================
 Getting started
=================

A file system is implemented by subclassing the `llfuse.Operations`
class and implementing the various request handlers. An instance of
the this class must then be passed to `llfuse.init` to mount the file
system. To enter the request handling loop, run `llfuse.main`. This
function will return when the file system should be unmounted again,
which is done by calling `llfuse.close`.

For easier debugging, it is strongly recommended that applications
using llfuse also make use of the faulthandler_ module.

It is probably a good idea to look at the :ref:`example file system`
as well.

.. _faulthandler: http://docs.python.org/3/library/faulthandler.html