oaknut-disc
Read the documentation — full walkthrough, cookbook, and command reference.
disc is a unified command-line tool for inspecting, extracting from, and
modifying Acorn computer disc
images — Acorn DFS and Watford DFS floppies, ADFS floppies and hard discs,
Acorn Level 3 File Server (AFS) partitions, ROM Filing System (ROMFS) images,
and ZIP archives of Acorn files — through one consistent interface.
It recognises each format by content, with a filing-system prefix
(dfs:, adfs:, afs:) to route commands on dual-partition images, and Acorn
star-command aliases (*CAT, *DELETE, *RENAME, …) alongside their
Unix-named equivalents.
Installation
oaknut-disc requires only uv, which handles
Python installation and virtual environments for you.
Run without installing
uvx --from oaknut-disc disc <command> [options]
Persistent install
uv tool install oaknut-disc
then invoke it as just disc:
disc <command> [options]
Or with pip:
pip install oaknut-disc
Usage
# List the contents of a DFS floppy
disc ls 'games.ssd:$'
# Copy a file from a DFS floppy to an ADFS hard disc, mapping metadata across
disc cp 'games.ssd:$.ELITE' 'scsi0.dat:$.Elite'
# Create and initialise a Level 3 File Server disc (ADFS host + AFS tail)
disc create scsi0.dat --geometry capacity=10MB --title Server
disc afs init scsi0.dat --disc-name Server --user RJS:2MiB --emplace Library
# Walk both partitions of a dual ADFS + AFS hard disc
disc tree scsi0.dat
License
MIT.
Metadata
Release files for oaknut-disc 13.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oaknut_disc-13.1.3.tar.gz | 133.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_disc-13.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 187.5 kB
Release files / oaknut_disc-13.1.3.tar.gz
| Download URL | oaknut_disc-13.1.3.tar.gz |
|---|---|
| Size | 133.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c4ee001f27d1e660f31f6cc441f21672852ef1a504964248f03bbc1458c02ad
|
|
BLAKE2b-256 checksum How to use checksums |
6326b6fafcbfbc8ea1696d1fb559a027f6f9092ff45a184e498ac999573764bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / oaknut_disc-13.1.3-py3-none-any.whl
| Download URL | oaknut_disc-13.1.3-py3-none-any.whl |
|---|---|
| Size | 53.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8c7d3600444cd3a906524dcba4288485e8ac7739b9e96ffb858274450e1b18b
|
|
BLAKE2b-256 checksum How to use checksums |
bde00031a746daac4803b5b7218a3f55b45286ee9c285a17d1cc1461a08cdd5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|