A block device cache in userspace
Project description
🧊 blkcache
Userspace transparent block device cache.
⬇️ Deps
sudo apt install libnbd-bin nbdkit-plugin-python nbdfuse fuse3
ℹ️ Usage
uvx blkcache /dev/sr0 file.iso
Then point tools at file.iso instead of /dev/sr0.
Why?
Copying some CDs and needed a way to do mount in FUSE, dump the filesystem, and
then ddrescue /dev/sr0 to get the image if possible. This means it doesn't
read the disk twice, even if you have a ton of drives attached
How?
It uses nbdkit to create a Network Block Storage device in Python, mounts it
using fuse, then creates a mmapped disk cache of sectors as they're read.
🔗 Links
🌍 Related
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blkcache-0.0.2.tar.gz.
File metadata
- Download URL: blkcache-0.0.2.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be000443919f39f256d3097b3ce8197fb9934aa996da8d66609f1dd0b815822f
|
|
| MD5 |
68d3de27979d169fafab3c4d23bb3f94
|
|
| BLAKE2b-256 |
1dc31c32f2561578a47fc5b04ac30df4d91b730e4e5ea98ebe6a342345ca5286
|
File details
Details for the file blkcache-0.0.2-py3-none-any.whl.
File metadata
- Download URL: blkcache-0.0.2-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea1847f9c18fe3c16263215bd3dd8b7fb1f2cfcac89bc8b362d4bd5e92615c51
|
|
| MD5 |
7e91bd1f76a9965e3016c5ebb0a42f8d
|
|
| BLAKE2b-256 |
28adb6da389821b40f1a7e8e93325873828181a6b5ee5781c240cfa3c50ba906
|