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 12.17.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 | |
|---|---|---|---|
| oaknut_disc-12.17.1.tar.gz | 114.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_disc-12.17.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 162.6 kB
Release files / oaknut_disc-12.17.1.tar.gz
| Download URL | oaknut_disc-12.17.1.tar.gz |
|---|---|
| Size | 114.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d54b90203ec95fb854c923d7649416f6c887c00560c1b0bfc00313c3f2a2d19
|
|
BLAKE2b-256 checksum How to use checksums |
37bb4f82c633c11de0fe5ad1977079b4e30033e0da111c28177dc85bf6972e2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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-12.17.1-py3-none-any.whl
| Download URL | oaknut_disc-12.17.1-py3-none-any.whl |
|---|---|
| Size | 48.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82de30dece95b73b11791e9ce04f4621451e405ffa42463758070bd83e57224d
|
|
BLAKE2b-256 checksum How to use checksums |
6c206e3426ae28f02d4ed43a80abad9b6e504900fa4108d1357c11c2a5b6dec0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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}
|