🧊 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
Metadata
Release files for blkcache 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blkcache-0.1.1.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blkcache-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.4 kB
Release files / blkcache-0.1.1.tar.gz
| Download URL | blkcache-0.1.1.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbf13908ef9af36f705ec1242d88125b3195318c51c5291c4166afa9f8629b54
|
|
BLAKE2b-256 checksum How to use checksums |
adfadaf631ad3bf1f202cfaee113c33b3616233f5e748460c8cd2ccdc6973667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|
Release files / blkcache-0.1.1-py3-none-any.whl
| Download URL | blkcache-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f2f3580e0cebf18d269bad795fc7204d85ec95ab380513fb1d5dc417a7fc03e
|
|
BLAKE2b-256 checksum How to use checksums |
7469494730d0690b812a1bd3d692e205ad44f5b8bf107becbc93b42f5280dcf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|