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

util/libs/ptable.v20261007.lha

Mirror:Random
Showing: i386-amithlon icongeneric 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:20261007
Architecture:m68k-amigaos
Date:2026-10-07
Requires:AmigaOS 2.0+
Replaces:util/libs/ptable.v20260930.lha
Download:util/libs/ptable.v20261007.lha - View contents
Readme:util/libs/ptable.v20261007.readme
Downloads:18

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 <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.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/<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.v20261007.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/
-rw-r--r--  1000/1000     1839    5279  34.8% -lh5- beab Oct  7 17:10 ptable/Install
-rw-r--r--  1000/1000      624    2921  21.4% -lh5- b199 Oct  7 17:10 ptable/Install.info
-rw-r--r--  1000/1000     9637   26526  36.3% -lh5- e336 Oct  7 17:10 ptable/LICENSE
-rw-r--r--  1000/1000      620    2859  21.7% -lh5- 0cf1 Oct  7 17:10 ptable/LICENSE.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/c/
-rwxr-xr-x  1000/1000     8659   14180  61.1% -lh5- c613 Oct  7 17:10 ptable/c/lsptres
-rw-r--r--  1000/1000      606    2898  20.9% -lh5- 4647 Oct  7 17:10 ptable/c.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/docs/
-rw-r--r--  1000/1000     1810    5055  35.8% -lh5- 3a0c Oct  7 17:10 ptable/docs/changes.guide
-rw-r--r--  1000/1000     3935   14701  26.8% -lh5- 18d3 Oct  7 17:10 ptable/docs/lsptres.guide
-rw-r--r--  1000/1000    12199   44674  27.3% -lh5- 3ab9 Oct  7 17:10 ptable/docs/ptable.guide
-rw-r--r--  1000/1000      644    2898  22.2% -lh5- e8a4 Oct  7 17:10 ptable/docs.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/full/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/full/68000/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/full/68000/libs/
-rw-r--r--  1000/1000     7665   11996  63.9% -lh5- 82ce Oct  7 17:10 ptable/full/68000/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Oct  7 17:10 ptable/full/68000/libs.info
-rw-r--r--  1000/1000      644    2898  22.2% -lh5- 0feb Oct  7 17:10 ptable/full/68000.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/full/68020/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/full/68020/libs/
-rw-r--r--  1000/1000     7601   11928  63.7% -lh5- 0063 Oct  7 17:10 ptable/full/68020/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Oct  7 17:10 ptable/full/68020/libs.info
-rw-r--r--  1000/1000      643    2898  22.2% -lh5- e240 Oct  7 17:10 ptable/full/68020.info
-rw-r--r--  1000/1000      693    2898  23.9% -lh5- ba7d Oct  7 17:10 ptable/full.info
-rw-r--r--  1000/1000     2286    5116  44.7% -lh5- ff7e Oct  7 17:10 ptable/ptable.readme
-rw-r--r--  1000/1000      544    2859  19.0% -lh5- 4b7e Oct  7 17:10 ptable/ptable.readme.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/small/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/small/68000/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/small/68000/libs/
-rw-r--r--  1000/1000     6416    9952  64.5% -lh5- 7115 Oct  7 17:10 ptable/small/68000/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Oct  7 17:10 ptable/small/68000/libs.info
-rw-r--r--  1000/1000      644    2898  22.2% -lh5- 0feb Oct  7 17:10 ptable/small/68000.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/small/68020/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/small/68020/libs/
-rw-r--r--  1000/1000     6353    9884  64.3% -lh5- 60bc Oct  7 17:10 ptable/small/68020/libs/ptable.library
-rw-r--r--  1000/1000      685    2898  23.6% -lh5- 8ac7 Oct  7 17:10 ptable/small/68020/libs.info
-rw-r--r--  1000/1000      643    2898  22.2% -lh5- e240 Oct  7 17:10 ptable/small/68020.info
-rw-r--r--  1000/1000      658    2898  22.7% -lh5- 1ed9 Oct  7 17:10 ptable/small.info
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Oct  7 17:10 ptable/src/
-rw-r--r--  1000/1000      246     545  45.1% -lh5- 3074 Oct  7 17:10 ptable/src/log2.i
-rw-r--r--  1000/1000     4873   13476  36.2% -lh5- 15d8 Oct  7 17:10 ptable/src/lsptres.c
-rw-r--r--  1000/1000     2924    8969  32.6% -lh5- 14aa Oct  7 17:10 ptable/src/page.c
-rw-r--r--  1000/1000      191     315  60.6% -lh5- 1e7f Oct  7 17:10 ptable/src/page.h
-rw-r--r--  1000/1000      645    1070  60.3% -lh5- a639 Oct  7 17:10 ptable/src/parts.i
-rw-r--r--  1000/1000     3691    9742  37.9% -lh5- 680e Oct  7 17:10 ptable/src/parts.s
-rw-r--r--  1000/1000    10050   30273  33.2% -lh5- eeaf Oct  7 17:10 ptable/src/ptable_act.s
-rw-r--r--  1000/1000    13784   41079  33.6% -lh5- fc32 Oct  7 17:10 ptable/src/ptable_boot.s
-rw-r--r--  1000/1000      579    1073  54.0% -lh5- c438 Oct  7 17:10 ptable/src/ptable_dosdiag.i
-rw-r--r--  1000/1000     3940   12404  31.8% -lh5- bc3f Oct  7 17:10 ptable/src/ptable_fs.s
-rw-r--r--  1000/1000     2997    9262  32.4% -lh5- bca4 Oct  7 17:10 ptable/src/ptable_hunk.s
-rw-r--r--  1000/1000     3663    8553  42.8% -lh5- d710 Oct  7 17:10 ptable/src/ptable_lib.s
-rw-r--r--  1000/1000     6912   23332  29.6% -lh5- bbfb Oct  7 17:10 ptable/src/ptable_partres.s
-rw-r--r--  1000/1000     5918   14189  41.7% -lh5- 5c9c Oct  7 17:10 ptable/src/ptable_pub.i
-rw-r--r--  1000/1000     8171   26048  31.4% -lh5- be7d Oct  7 17:10 ptable/src/ptable_scan.s
-rw-r--r--  1000/1000      144     216  66.7% -lh5- 61c0 Oct  7 17:10 ptable/src/ptable_version.i
-rw-r--r--  1000/1000      432     810  53.3% -lh5- 0c25 Oct  7 17:10 ptable/src/raw_debug.i
-rw-r--r--  1000/1000      255     590  43.2% -lh5- 49a8 Oct  7 17:10 ptable/src/umul32.i
-rw-r--r--  1000/1000      679    2898  23.4% -lh5- c168 Oct  7 17:10 ptable/src.info
-rw-r--r--  1000/1000      641    2898  22.1% -lh5- b5d3 Oct  7 17:10 ptable.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        60 files  148838  410448  36.3%            Oct  7 22:55
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>