Table of Contents
Introduction
PreservedFS is a Filesystem in Userspace that aims at mounting a folder, doing modifications inside the mounted folder while preserving the original files.
To achieve this, PreservedFS uses three folders :
targetorroot: the folder to be mountedlocal: the folder that will keep only the modifications fromtargetmnt: the folder you will browse that is an union oftargetandlocalthat reflect the original files with the changes fromlocal.
Installation
Requirements
You need Python 2.3 or newer to be installed. You also need the libfuse library on your system (shipped by all major Linux distributions).
Then, to install it:
pip install preservedfs
Example
An example is given in the repository under the example folder.
Running PreservedFS example
PreservedFS comes with a Command Line Interface (CLI). So once installed, you can run:
preservedfs ~/preservedfs/example/target ~/preservedfs/example/mnt ~/preservedfs/example/local
Using PreservedFS example
You can then browse to the example/mnt folder which is the folder mounted by PreservedFS.
You will see a union of the content of the folders example/target and example/local.
If you modify a file within the example/mnt folder (such as this one EXAMPLE.org), the changes will be written in example/local and reflected in example/mnt but the original file will be preserved!
You can play around by creating / deleting files in example/mnt and see how it affects the folders example/local and example/target.
Metadata
Release files for preservedfs 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| preservedfs-0.1.5.tar.gz | 31.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| preservedfs-0.1.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 63.7 kB
Release files / preservedfs-0.1.5.tar.gz
| Download URL | preservedfs-0.1.5.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a5af96fca4d78d90b2cdab742d2ac6050be56c893fb32afd5cac219ce6e43f9
|
|
BLAKE2b-256 checksum How to use checksums |
0513df0b41f34f6de27d94ee7d4014a63efbfdcbb6fb376f0b6d42c5c41a70e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / preservedfs-0.1.5-py2.py3-none-any.whl
| Download URL | preservedfs-0.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1fd438fb2643f9e26ce4fd67b41bce4999c1955f011d38090db6d9356b3634d9
|
|
BLAKE2b-256 checksum How to use checksums |
79c664a3b35525b5863679ecd7f58dc62f5e5dc16a0a59d353a1cab4b4f1f333
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|