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

util/libs/ptable.v20260930.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:partition-table library (RDB/MBR/GPT)
Author: jaroslav.pulchart at gmail.com (Jaroslav Pulchart)
Uploader:jaroslav pulchart gmail com (Jaroslav Pulchart)
Type:util/libs
Version:20260930
Architecture:m68k-amigaos >= 2.0.4
Date:2026-10-01
Replaces:util/libs/ptable.v20260911.lha
Download:util/libs/ptable.v20260930.lha - View contents
Readme:util/libs/ptable.v20260930.readme
Downloads:2

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 <flavor>/<cpu>/ 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/<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.v20260930.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/
-rw-r--r--  1000/1000     9637   26526  36.3% -lh5- e336 Sep 30 16:42 ptable/LICENSE
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/c/
-rwxr-xr-x  1000/1000     7396   12104  61.1% -lh5- a22f Sep 30 16:42 ptable/c/lsptres
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/docs/
-rw-r--r--  1000/1000     1628    4347  37.5% -lh5- 43a1 Sep 30 16:42 ptable/docs/changes.guide
-rw-r--r--  1000/1000     3933   14701  26.8% -lh5- 103d Sep 30 16:42 ptable/docs/lsptres.guide
-rw-r--r--  1000/1000    12115   44486  27.2% -lh5- 24e4 Sep 30 16:42 ptable/docs/ptable.guide
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/full/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/full/68000/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/full/68000/libs/
-rw-r--r--  1000/1000     7681   12028  63.9% -lh5- dd84 Sep 30 16:42 ptable/full/68000/libs/ptable.library
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/full/68020/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/full/68020/libs/
-rw-r--r--  1000/1000     7621   11960  63.7% -lh5- 2959 Sep 30 16:42 ptable/full/68020/libs/ptable.library
-rw-r--r--  1000/1000     2402    5488  43.8% -lh5- 6ff4 Sep 30 16:42 ptable/ptable.readme
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/small/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/small/68000/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/small/68000/libs/
-rw-r--r--  1000/1000     6417    9952  64.5% -lh5- 5cf9 Sep 30 16:42 ptable/small/68000/libs/ptable.library
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/small/68020/
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/small/68020/libs/
-rw-r--r--  1000/1000     6352    9884  64.3% -lh5- fb75 Sep 30 16:42 ptable/small/68020/libs/ptable.library
drwxr-xr-x  1000/1000        0       0 ****** -lhd- 0000 Sep 30 16:42 ptable/src/
-rw-r--r--  1000/1000      246     545  45.1% -lh5- 3074 Sep 30 16:42 ptable/src/log2.i
-rw-r--r--  1000/1000     4878   13515  36.1% -lh5- 794f Sep 30 16:42 ptable/src/lsptres.c
-rw-r--r--  1000/1000     1704    4088  41.7% -lh5- ceaf Sep 30 16:42 ptable/src/page.c
-rw-r--r--  1000/1000      196     322  60.9% -lh5- af86 Sep 30 16:42 ptable/src/page.h
-rw-r--r--  1000/1000      645    1070  60.3% -lh5- a639 Sep 30 16:42 ptable/src/parts.i
-rw-r--r--  1000/1000     3691    9742  37.9% -lh5- 680e Sep 30 16:42 ptable/src/parts.s
-rw-r--r--  1000/1000    10050   30273  33.2% -lh5- eeaf Sep 30 16:42 ptable/src/ptable_act.s
-rw-r--r--  1000/1000    13801   41193  33.5% -lh5- 42a4 Sep 30 16:42 ptable/src/ptable_boot.s
-rw-r--r--  1000/1000      579    1073  54.0% -lh5- c438 Sep 30 16:42 ptable/src/ptable_dosdiag.i
-rw-r--r--  1000/1000     3940   12404  31.8% -lh5- bc3f Sep 30 16:42 ptable/src/ptable_fs.s
-rw-r--r--  1000/1000     2997    9262  32.4% -lh5- bca4 Sep 30 16:42 ptable/src/ptable_hunk.s
-rw-r--r--  1000/1000     3649    8522  42.8% -lh5- 3b49 Sep 30 16:42 ptable/src/ptable_lib.s
-rw-r--r--  1000/1000     6915   23365  29.6% -lh5- 87cc Sep 30 16:42 ptable/src/ptable_partres.s
-rw-r--r--  1000/1000     5918   14189  41.7% -lh5- 5c9c Sep 30 16:42 ptable/src/ptable_pub.i
-rw-r--r--  1000/1000     8171   26048  31.4% -lh5- be7d Sep 30 16:42 ptable/src/ptable_scan.s
-rw-r--r--  1000/1000      145     216  67.1% -lh5- b3b8 Sep 30 16:42 ptable/src/ptable_version.i
-rw-r--r--  1000/1000      432     810  53.3% -lh5- 0c25 Sep 30 16:42 ptable/src/raw_debug.i
-rw-r--r--  1000/1000      255     590  43.2% -lh5- 49a8 Sep 30 16:42 ptable/src/umul32.i
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        42 files  133394  348703  38.3%            Oct  1 00:15
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>