Skip to main content

overlay4u

Project description

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

Possible interface examples

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')

That’s all. It’s a relatively simple tool.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

overlay4u-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file overlay4u-0.0.2.tar.gz.

File metadata

  • Download URL: overlay4u-0.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for overlay4u-0.0.2.tar.gz
Algorithm Hash digest
SHA256 891a132b62a86b7481c0df9fdac2d9e88075f38bda4c2708bebf51f203407222
MD5 5622ec74b91941d140624b42f2d2055e
BLAKE2b-256 cb1b16140b8356c8f13cbeeff4a0e73ca7b8666bbce4c418fab1a9f6d060e8b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page