File: example.rst

package info (click to toggle)
python-llfuse 1.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,496 kB
  • sloc: python: 1,943; ansic: 487; sh: 27; makefile: 15
file content (37 lines) | stat: -rw-r--r-- 816 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.. _example file system:

======================
 Example File Systems
======================

Python-LLFUSE comes with several example file systems in the
:file:`examples` directory of the release tarball. For completeness,
these examples are also included here.

Single-file, Read-only File System
==================================

(shipped as :file:`examples/lltest.py`)

.. literalinclude:: ../examples/lltest.py
   :linenos:
   :language: python

In-memory File System
=====================

(shipped as :file:`examples/tmpfs.py`)

.. literalinclude:: ../examples/tmpfs.py
   :linenos:
   :language: python


Passthrough / Overlay File System
=================================

(shipped as :file:`examples/passthroughfs.py`)

.. literalinclude:: ../examples/passthroughfs.py
   :linenos:
   :language: python