Short: Partition-table library Author: jaroslav.pulchart@gmail.com (Jaroslav Pulchart) Uploader: jaroslav pulchart gmail com (Jaroslav Pulchart) Type: util/libs Version: 20261115 Replaces: util/libs/ptable.v20261007.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.3 (15.11.2026) (new) - lsptres 1.3 (15.11.2026) (new) WHAT'S NEW (15.11.2026) ======================= ptable.library 2.3: * MBR partitions of type 07 are passed to the filesystem handler, like GPT basic data partitions. * A card with FFS, PFS or SFS and no partition table mounts as one volume. * Improved partition detection; a card can have up to 100 partitions, was 12. * Fewer wrong or missing partitions: boot code at the card start, damaged RDB blocks, read errors and RDB partitions past 2 TB are handled. * A newer filesystem in the RDB replaces an older one in ROM, e.g. FFS 45 over FFS 40. * Improved detection of partitions already mounted from DEVS:DOSDrivers, also under another name. * Card swap: partitions of the old card are no longer mounted for the new one. * HANDLER_, STACK_ and PRI_ in cfd.prefs also apply to RDB partitions. A handler path over 23 characters is refused instead of cut. * Fixed a memory leak on every card insert. lsptres 1.3: * VERBOSE shows the filesystem on each partition, e.g. FAT32 (with fat95 4.2). 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.3 (15.11.2026) (13360 bytes): MD5: ba70964a2b0bbcf86a3e0ca4bee86740 SHA256: 6b83943bbe4ff7ea122b18b91f6d1d01c5b3626a674f623f574a2625e9643ffe full/68000/libs/ptable.library 2.3 (15.11.2026) (13452 bytes): MD5: 6eaa1df6333514578d0d737e01d2dd75 SHA256: 488407d52f50eb562bd862a9e38ea1ec80cbdde1c6705f32f3d375869f39e7e2 small/68020/libs/ptable.library 2.3 (15.11.2026) (11200 bytes): MD5: 40ac7c1e5933c95e2cd182e2b47c6b20 SHA256: 22fcebde7afdfcff6a07bd10eec3fecce27c871f105e29a6a78f8c3c80408714 small/68000/libs/ptable.library 2.3 (15.11.2026) (11292 bytes): MD5: bb4f259b73c1c1665526b8308ed3b320 SHA256: 44f4e4d760eff76d60abcf790edf38c59623ade11e5a395e4e9a61aaff178c3e lsptres 1.3 (15.11.2026) (14500 bytes): MD5: c74be3f365963f1dd8c8533d1594b4a8 SHA256: 0f566c79f80cb6405a4dc1b61e60aae23a047ac6369a5268f0440d7e1e8c5631 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