{"id":23680114,"url":"https://github.com/errornointernet/overmask","last_synced_at":"2025-09-02T09:31:24.442Z","repository":{"id":182207386,"uuid":"668117188","full_name":"ErrorNoInternet/overmask","owner":"ErrorNoInternet","description":"Add a writeable overlay on top of read-only files","archived":false,"fork":false,"pushed_at":"2024-11-15T12:29:18.000Z","size":188,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T13:31:10.051Z","etag":null,"topics":["immutable","mask","overlay","overlayfs","read-only"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ErrorNoInternet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-19T04:22:17.000Z","updated_at":"2024-11-15T12:29:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8dfb9336-d077-4a95-a9a6-acd1ded64b01","html_url":"https://github.com/ErrorNoInternet/overmask","commit_stats":null,"previous_names":["errornointernet/overmask"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fovermask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fovermask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fovermask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fovermask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErrorNoInternet","download_url":"https://codeload.github.com/ErrorNoInternet/overmask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231768601,"owners_count":18423791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["immutable","mask","overlay","overlayfs","read-only"],"created_at":"2024-12-29T17:57:56.542Z","updated_at":"2024-12-29T17:57:57.123Z","avatar_url":"https://github.com/ErrorNoInternet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# overmask\n\nAdd a writeable overlay on top of read-only files\n\n## Installation\n\nNix flake: `github:ErrorNoInternet/overmask`\n\nAUR: https://aur.archlinux.org/packages/overmask\n\nCOPR: https://copr.fedorainfracloud.org/coprs/errornointernet/packages\n\n### cargo\n\n```sh\n$ git clone https://github.com/ErrorNoInternet/overmask\n$ cd overmask\n$ cargo install --path .\n```\n\n## Usage\n\n```sh\n# required for the virtual block device (/dev/nbd*)\n$ sudo modprobe nbd\n\n# create (empty) files to store data in\n$ touch overlay_file mask_file\n\n# device mode:\n# read from /dev/sda, but redirect all writes to overlay_file and\n# use mask_file to keep track of what has been written so that \n# future reads would be from overlay_file instead of /dev/sda\n$ overmask -s /dev/sda -o overlay_file -m mask_file dev\n\n# you can now send arbitrary write commands to the virtual block device\n$ sudo dd if=/dev/zero of=/dev/nbd0\n# and all the zeros would be in overlay_file instead of /dev/sda\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferrornointernet%2Fovermask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferrornointernet%2Fovermask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferrornointernet%2Fovermask/lists"}