overlay4u - Tools for dealing with overlayfs in ubuntu (Work in Progress)
Simple way to create an overlayfs in ubuntu within Python.
Warnings!
overlay4u requires root. Be sure you’re aware of that. It’s still very much a work in progress so please use with caution and hopefully on VM that you do not care about.
Caveats
overlay4u is not currently being designed for anything but Ubuntu 12.04. At this time that’s the first priority.
Currently Working
Mounting works! (Tested and works)
Creating a table of mounted filesystems
Unmounting
Using overlay4u
Create an overlay at dest:
import overlay4u
overlay = overlay4u.mount('dest', 'lower', 'upper')
overlay.unmount()
If the destination already has something mounted it won’t mount again:
import overlay4u
overlay1 = overlay4u.mount('dest', 'lower', 'upper')
# This will throw an error.
overlay2 = overlay4u.mount('dest', 'lower', 'upper')
List all overlays:
import overlay4u overlays = overlay4u.list() # Overlays is now a list of all the currently mounted overlays on your # system
Grab a previously mounted overlayfs:
import overlay4u
overlay = overlay4u.get('/some_mount_point')
That’s all. It’s a relatively simple tool.
Metadata
Release files for overlay4u 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| overlay4u-0.0.4.tar.gz | 4.8 kB | Without provenance | Details |
Release files / overlay4u-0.0.4.tar.gz
| Download URL | overlay4u-0.0.4.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9777262173d355120d1d7ee28223430574a924d6be401ae75cca6040f34fc0d5
|
|
BLAKE2b-256 checksum How to use checksums |
a5cd11d28d061a8a858b57e2b7bf698425b872e87cf94f0b63ac5e64f14f88dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for overlay4u 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.