AminetAminet
Search:
85854 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

util/libs/ptable.v20261115.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Partition-table library
Author: jaroslav.pulchart at gmail.com (Jaroslav Pulchart)
Uploader:jaroslav pulchart gmail com (Jaroslav Pulchart)
Type:util/libs
Version:20261115
Architecture:m68k-amigaos
Date:2026-11-16
Requires:AmigaOS 2.0+
Replaces:util/libs/ptable.v20261007.lha
Download:util/libs/ptable.v20261115.lha - View contents
Readme:util/libs/ptable.v20261115.readme
Downloads:15

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_<fs>, STACK_<fs> and PRI_<fs> 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 <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 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/<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


Contents of util/libs/ptable.v20261115.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/
-rw-r--r--  1000/1000     1839    5279  34.8% -lh5- 3ccb Nov 15 12:55 ptable/Install
-rw-r--r--  1000/1000      624    2921  21.4% -lh5- b199 Nov 15 12:55 ptable/Install.info
-rw-r--r--  1000/1000     9637   26526  36.3% -lh5- e336 Nov 15 12:55 ptable/LICENSE
-rw-r--r--  1000/1000      620    2859  21.7% -lh5- 0cf1 Nov 15 12:55 ptable/LICENSE.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/c/
-rwxr-xr-x  1000/1000     8857   14500  61.1% -lh5- e847 Nov 15 12:55 ptable/c/lsptres
-rw-r--r--  1000/1000      606    2898  20.9% -lh5- 4647 Nov 15 12:55 ptable/c.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/docs/
-rw-r--r--  1000/1000     2315    6650  34.8% -lh5- 4833 Nov 15 12:55 ptable/docs/changes.guide
-rw-r--r--  1000/1000     4061   15168  26.8% -lh5- aa05 Nov 15 12:55 ptable/docs/lsptres.guide
-rw-r--r--  1000/1000    13777   50638  27.2% -lh5- 7d3d Nov 15 12:55 ptable/docs/ptable.guide
-rw-r--r--  1000/1000      644    2898  22.2% -lh5- e8a4 Nov 15 12:55 ptable/docs.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/full/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/full/68000/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/full/68000/libs/
-rw-r--r--  1000/1000     8771   13452  65.2% -lh5- eea8 Nov 15 12:55 ptable/full/68000/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Nov 15 12:55 ptable/full/68000/libs.info
-rw-r--r--  1000/1000      644    2898  22.2% -lh5- 0feb Nov 15 12:55 ptable/full/68000.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/full/68020/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/full/68020/libs/
-rw-r--r--  1000/1000     8681   13360  65.0% -lh5- 85df Nov 15 12:55 ptable/full/68020/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Nov 15 12:55 ptable/full/68020/libs.info
-rw-r--r--  1000/1000      643    2898  22.2% -lh5- e240 Nov 15 12:55 ptable/full/68020.info
-rw-r--r--  1000/1000      693    2898  23.9% -lh5- ba7d Nov 15 12:55 ptable/full.info
-rw-r--r--  1000/1000     2473    5458  45.3% -lh5- 499f Nov 15 12:55 ptable/ptable.readme
-rw-r--r--  1000/1000      544    2859  19.0% -lh5- 4b7e Nov 15 12:55 ptable/ptable.readme.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/small/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/small/68000/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/small/68000/libs/
-rw-r--r--  1000/1000     7487   11292  66.3% -lh5- a94c Nov 15 12:55 ptable/small/68000/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Nov 15 12:55 ptable/small/68000/libs.info
-rw-r--r--  1000/1000      644    2898  22.2% -lh5- 0feb Nov 15 12:55 ptable/small/68000.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/small/68020/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/small/68020/libs/
-rw-r--r--  1000/1000     7391   11200  66.0% -lh5- d4c3 Nov 15 12:55 ptable/small/68020/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Nov 15 12:55 ptable/small/68020/libs.info
-rw-r--r--  1000/1000      643    2898  22.2% -lh5- e240 Nov 15 12:55 ptable/small/68020.info
-rw-r--r--  1000/1000      658    2898  22.7% -lh5- 1ed9 Nov 15 12:55 ptable/small.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Nov 15 12:55 ptable/src/
-rw-r--r--  1000/1000      246     545  45.1% -lh5- 3074 Nov 15 12:55 ptable/src/log2.i
-rw-r--r--  1000/1000     5151   14378  35.8% -lh5- a076 Nov 15 12:55 ptable/src/lsptres.c
-rw-r--r--  1000/1000     2924    8969  32.6% -lh5- 14aa Nov 15 12:55 ptable/src/page.c
-rw-r--r--  1000/1000      191     315  60.6% -lh5- 1e7f Nov 15 12:55 ptable/src/page.h
-rw-r--r--  1000/1000      677    1128  60.0% -lh5- 0afe Nov 15 12:55 ptable/src/parts.i
-rw-r--r--  1000/1000     4287   11568  37.1% -lh5- b209 Nov 15 12:55 ptable/src/parts.s
-rw-r--r--  1000/1000    12395   38027  32.6% -lh5- 6096 Nov 15 12:55 ptable/src/ptable_act.s
-rw-r--r--  1000/1000    14868   44794  33.2% -lh5- 6120 Nov 15 12:55 ptable/src/ptable_boot.s
-rw-r--r--  1000/1000      579    1073  54.0% -lh5- c438 Nov 15 12:55 ptable/src/ptable_dosdiag.i
-rw-r--r--  1000/1000     4156   13042  31.9% -lh5- 6f02 Nov 15 12:55 ptable/src/ptable_fs.s
-rw-r--r--  1000/1000     2997    9262  32.4% -lh5- bca4 Nov 15 12:55 ptable/src/ptable_hunk.s
-rw-r--r--  1000/1000     3759    8763  42.9% -lh5- d0e9 Nov 15 12:55 ptable/src/ptable_lib.s
-rw-r--r--  1000/1000     7165   24303  29.5% -lh5- 7e68 Nov 15 12:55 ptable/src/ptable_partres.s
-rw-r--r--  1000/1000     6649   16228  41.0% -lh5- 1728 Nov 15 12:55 ptable/src/ptable_pub.i
-rw-r--r--  1000/1000     9869   31300  31.5% -lh5- 8c4f Nov 15 12:55 ptable/src/ptable_scan.s
-rw-r--r--  1000/1000      146     216  67.6% -lh5- d8e1 Nov 15 12:55 ptable/src/ptable_version.i
-rw-r--r--  1000/1000      432     810  53.3% -lh5- 0c25 Nov 15 12:55 ptable/src/raw_debug.i
-rw-r--r--  1000/1000      471    1074  43.9% -lh5- b722 Nov 15 12:55 ptable/src/umul32.i
-rw-r--r--  1000/1000      679    2898  23.4% -lh5- c168 Nov 15 12:55 ptable/src.info
-rw-r--r--  1000/1000      641    2898  22.1% -lh5- b5d3 Nov 15 12:55 ptable.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        60 files  163274  448529  36.4%            Nov 16 01:43
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>