| Hangar. All the Amiga software, ready to install | Catalogue | What is Hangar | Analysis | For AmigaOS | For DashOS | Publish your programs | Sign in | Espaņol |
Short: Partition-table library
Author: (Jaroslav Pulchart)
Uploader:
Type: util/libs
Version: 20261127
Replaces: util/libs/ptable.v20261115.lha
Requires: AmigaOS 2.0+
Architecture: m68k-amigaos
Kurz: Partitionstabellen-Library
ptable.library is the AmigaOS partition-table library (one place that parses
RDB, MBR, GPT and flat layouts and publishes every partition into a shared
partition.resource) so a device driver and a filesystem handler never each
carry their own partition parser.
It was assembled from existing code: the library framework and RDB
cold-boot path came from compactflash.device (pre 2.0), the MBR/GPT
scanning from fat95 (pre 4.0).
Consumed by
* compactflash.device 2.0+ (driver/media/cfd) and
* fat95 4.0+ (disk/misc/fat95).
COMPONENTS IN THIS RELEASE
==========================
- ptable.library 3.0 (27.11.2026) (new)
- lsptres 1.3 (15.11.2026)
WHAT'S NEW (27.11.2026)
=======================
ptable.library 3.0:
* Fixed a crash under AROS with the full build, found by the new integration
tests of fat95 and cfd.
* Simplified ConfigDev for a bootable RDB partition. It carries only the
fields strap needs to boot from it and is not registered with
AddConfigDev, so ShowConfig does not list it.
Install:
* Install sets the execute bit on the files it copies.
Build and tests:
* Improved build and tests. Every change is built and tested
automatically, and the FS-UAE integration tests of cfd and fat95 run
ptable.library on AROS and ApolloOS, and locally also on AmigaOS 3.1
and 3.2.3.
REQUIREMENTS
============
* AmigaOS 2.0 or higher.
* A consumer that uses the library: compactflash.device (driver/media/cfd)
or fat95 (disk/misc/fat95). ptable.library on its own does nothing.
* For cold-boot autoboot the library must be ROM-resident (Remus / Capitoline).
A disk-loaded copy is used for DOS-time scanning only.
* Installer 43.3 or newer for Install (without it, install by hand).
INSTALLATION
============
* Double-click Install. It detects the CPU, copies ptable.library to
LIBS: (small variant, full in Expert mode) and optionally lsptres
to C:.
I recommend putting ptable.library in ROM as a resident module.
By hand:
1. Copy <flavor>/<cpu>/libs/ptable.library to LIBS:.
- 68020 or higher: 68020/
- 68000/68010: 68000/
- full (serial debug output), small (no debug code)
2. Copy c/lsptres to C: (optional, lists partition.resource).
3. For cold-boot autoboot, put ptable.library in ROM with Remus or Capitoline.
LSPTRES
=======
lsptres dumps the current contents of partition.resource (the partitions the
library has published: name, DOSType, geometry, and the resolved mount
Flags/CONTROL). Run it with no arguments:
lsptres
See docs/lsptres.guide for the full output description.
SOURCE CODE
===========
Source code available at: https://github.com/pulchart/amigaos-ptable
Licensed under GNU LGPL v2.1.
SUPPORT
=======
The improvements are developed in my free time. If you'd like to support
ongoing maintenance and experimentation, you can do so on Ko-fi:
https://ko-fi.com/jaroslavpulchart
HISTORY
=======
See docs/changes.guide for release notes.
Online version: https://github.com/pulchart/amigaos-ptable/blob/HEAD/docs/changes.md
CHECKSUMS
=========
full/68020/libs/ptable.library 3.0 (27.11.2026) (13296 bytes):
MD5: db9e3ca0c2fcbd361f1482c9f130729d
SHA256: 4bab838d6a4f853d1ab1f95a87ccfe63ae65daf6ecc9443ba60c1a85bc191b82
full/68000/libs/ptable.library 3.0 (27.11.2026) (13392 bytes):
MD5: a97baff1edb525bc66a407d6dacbbfa3
SHA256: 072bca188f1b0561471d38987d3966bb98160c22c16eccc005999240776da2af
small/68020/libs/ptable.library 3.0 (27.11.2026) (11132 bytes):
MD5: 90b6ba2a83c1171d8f62b315a9260e9b
SHA256: 5e9b24b4ac10b69994a2d199201f01e22183df09296935d92e638f3878bebfd7
small/68000/libs/ptable.library 3.0 (27.11.2026) (11224 bytes):
MD5: 4ec3250b619a54aaf84c781d9ba204f8
SHA256: f32279216691099bf03ec52d22c4683536ab8bdae99ddad4878f04f71def0fc3
lsptres 1.3 (15.11.2026) (14352 bytes):
MD5: 3e4072af6d903718a33f7d7e9264d004
SHA256: 8817f35993d2821e4ea01ad46cb13fe1ba61230099b6e1f5320f562abbc132ed
CONTENTS
========
ptable/Install - Installer script
ptable/full/<cpu>/ - per-CPU "full" sysroot (debug-capable library)
ptable/small/<cpu>/ - per-CPU "small" sysroot (no debug code/strings)
ptable.library - partition scanner publishing partition.resource:
ptable/full/68020/libs/ptable.library - 68020+, debug-capable (serial output at boot)
ptable/small/68020/libs/ptable.library - 68020+, no debug code
ptable/full/68000/libs/ptable.library - 68000+, debug-capable (serial output at boot)
ptable/small/68000/libs/ptable.library - 68000+, no debug code
ptable/c/lsptres - partition.resource lister
ptable/docs/ptable.guide - Main documentation
ptable/docs/lsptres.guide - lsptres utility documentation
ptable/docs/changes.guide - Release notes
ptable/src/ - Full source code
ptable/LICENSE - GNU LGPL v2.1
CommentsNo comments yet. Sign in to comment. From the Amiga: open Hangar and search for ptable.v20261127.
|