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.4.0
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.4.0.tar.gz | 144.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_disc-13.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 201.4 kB
Release files / oaknut_disc-13.4.0.tar.gz
| Download URL | oaknut_disc-13.4.0.tar.gz |
|---|---|
| Size | 144.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb44d756bee4817f5c633fc3b3639458d1450288c3d8f39c2286df92e00589b7
|
|
BLAKE2b-256 checksum How to use checksums |
474beb22dc55ebe3b8bb4bf6d3c0ac393478239a2fd00078b14cb70dd2cb7fd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-py3-none-any.whl
| Download URL | oaknut_disc-13.4.0-py3-none-any.whl |
|---|---|
| Size | 57.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd1219046102bb33c150f4a5ac8696a67ba41271c79ae5cda0ff37d867bb574d
|
|
BLAKE2b-256 checksum How to use checksums |
297e3daa2e480af71dc967b563cf16fa716ae7a109c2ef38d52b5a980a00d42b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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}
|