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.2
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.2.tar.gz | 133.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_disc-13.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 187.5 kB
Release files / oaknut_disc-13.1.2.tar.gz
| Download URL | oaknut_disc-13.1.2.tar.gz |
|---|---|
| Size | 133.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0184645db442ccde7569c6d4534c2b54d5ef2de05ee6a430fdbd7aa0dffcac1
|
|
BLAKE2b-256 checksum How to use checksums |
a7f1408c7798f7b1f8157ec422dcaeb2c9e79f1c960ddecfe45f1aa54d09d2d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","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.2-py3-none-any.whl
| Download URL | oaknut_disc-13.1.2-py3-none-any.whl |
|---|---|
| Size | 53.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d992c4525e730a73c937c2e36a627691ebc13a00faa9258f5cd88671845c3ac
|
|
BLAKE2b-256 checksum How to use checksums |
18e0e1dd3adaf62a99c4e78c9cb0b0357a77c14f598fe6e930d6abf155c4a004
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","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}
|