Short: partition-table library (RDB/MBR/GPT) Author: jaroslav.pulchart@gmail.com (Jaroslav Pulchart) Uploader: jaroslav pulchart gmail com (Jaroslav Pulchart) Type: util/libs Version: 20260930 Replaces: util/libs/ptable.v20260911.lha Architecture: m68k-amigaos >= 2.0.4 Kurz: Partitionstabellen-Library (RDB/MBR/GPT) 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 2.1 (30.09.2026) (new) - lsptres 1.1 (30.09.2026) (new) WHAT'S NEW (30.09.2026) ======================= * A damaged GPT no longer produces bogus partitions. * MBR logical partitions inside an extended partition are found, numbered from 4 (CF4, CF5, ...). * lsptres pauses a screenful at a time on a console; any key continues, Q stops. Redirected output is written in full. WHAT IT DOES ============ * Cold-boot RDB autoboot: boot directly from an RDB-partitioned card (requires the library ROM-resident). * DOS-time scanning and automount: discover and mount hotplugged RDB/MBR/GPT/flat cards, via the consuming driver. * Publishes a shared partition.resource that any driver or handler can read instead of parsing the partition table itself. 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. INSTALLATION ============ The archive ships two flavours (full / small) and two CPU tiers, each as a sysroot ready to drop onto SYS:. 68020+ (A1200 stock, 68020+): full/68020/libs/ptable.library debug-capable (serial output at boot) small/68020/libs/ptable.library no debug code 68000 (stock A600, 68000+): full/68000/libs/ptable.library debug-capable (serial output at boot) small/68000/libs/ptable.library no debug code 1. Drag the contents of // onto SYS: (the inner libs/ drawer maps onto SYS:Libs/), or copy the chosen ptable.library to LIBS: by hand. - A1200 (68020+): full/68020/ (or small/68020/) - A600 (68000+): full/68000/ (or small/68000/) 2. Copy c/lsptres to C: (optional; lists partition.resource). 3. For cold-boot autoboot, put ptable.library in ROM with Remus or Capitoline. Use the full flavour if you want serial debug output at boot; use small for a minimal footprint (no debug strings/code). 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 2.1 (30.09.2026) (11960 bytes): MD5: 50afa361c192a6f44e5554b1843761a8 SHA256: ddcb16fe402b8ac9db1f99e1f63b946f480d0e7dba60e484615d7ebdeb07f0c3 full/68000/libs/ptable.library 2.1 (30.09.2026) (12028 bytes): MD5: 2e0323850041183c6a428bc4c1c03b8f SHA256: ab2217c77502ed9f043ecdfadda7ab724d58bf80ba2dcf07c557d0da599c3c20 small/68020/libs/ptable.library 2.1 (30.09.2026) (9884 bytes): MD5: 6e6b09e90c7a14230ebd9861e3f837b8 SHA256: 83dd1a840b17c19f39da98cb5dd8a1449b047e18486d3ebd7592b321c0978742 small/68000/libs/ptable.library 2.1 (30.09.2026) (9952 bytes): MD5: f3e706e009a694686fe5b089a7caebc9 SHA256: 8e0dc6eb01f4e22c069eacb8559f518e468c8edaaec4ce5170bb5e3110888384 lsptres 1.1 (30.09.2026) (12104 bytes): MD5: 7cbeb598e37dcda7c9e0d552f7293300 SHA256: 51116760f645b6b8b2af553af54855dce6fedfa3b7cd94556adbed6b360bc87b CONTENTS ======== ptable/full// - per-CPU "full" sysroot (debug-capable library) ptable/small// - 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