Short: Partition-table library Author: jaroslav.pulchart@gmail.com (Jaroslav Pulchart) Uploader: jaroslav pulchart gmail com (Jaroslav Pulchart) Type: util/libs Version: 20261007 Replaces: util/libs/ptable.v20260930.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 2.2 (03.10.2026) (new) - lsptres 1.2 (03.10.2026) (new) WHAT'S NEW (07.10.2026) ======================= Install: * New Installer script. * Reworked icon positions. ptable.library 2.2: * Fixed SCSI reads for partition detection. * Serial debug output ends lines with LF alone. Tools 'lsptres 1.2': * Improved paging. * Output lines end in LF alone. 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. * 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 //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 2.2 (03.10.2026) (11928 bytes): MD5: ab54e49754484d0e71f7cddd511a5f3f SHA256: 3bc8e42df2d787e18fc066ca1d0c4b1f8a47971a438e4c97f8a36a218326be31 full/68000/libs/ptable.library 2.2 (03.10.2026) (11996 bytes): MD5: 7cac89d1c267c1ab6a9a32d707b090a0 SHA256: e73c55b304495147861b4ab27ebede5f8ac8154e763d7a42e328e5d026bf11db small/68020/libs/ptable.library 2.2 (03.10.2026) (9884 bytes): MD5: a712189c33b106c8b60067733b30dc1f SHA256: bafbc3c2350a6f9afb7b5fad5e86d0105e1d44673a866a891bcf71f8e6fd5330 small/68000/libs/ptable.library 2.2 (03.10.2026) (9952 bytes): MD5: 7d84ff5982336761fd77588ea1afa590 SHA256: f9ff4b2c94d8d210c97a99ecbd02db8976574923210b5e35885c97075ea3658f lsptres 1.2 (03.10.2026) (14180 bytes): MD5: c72d743750046076d8ab56f0c104313d SHA256: 4718c271ee58742627b785470546e11faaddc42468e8651dd5205ccd6fd7fd81 CONTENTS ======== ptable/Install - Installer script 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