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

disk/misc/ffs2pfs-src.lha

Mirror:Random
Showing: ppc-powerup icongeneric icon
No screenshot available
Short:Source of the OFS/FFS to PFS3 converter
Author:terriblefire
Uploader:stephen terriblefire com (terriblefire)
Type:disk/misc
Version:0.3
Architecture:generic
Date:2026-11-23
Download:disk/misc/ffs2pfs-src.lha - View contents
Readme:disk/misc/ffs2pfs-src.readme
Downloads:9

ffs2pfs source
==============

The source of ffs2pfs, which converts an OFS or FFS hard disk partition
to PFS3 in place, keeping every file, and survives a power cut at any
moment. The program is in disk/misc/ffs2pfs.lha; its readme says what it
does and how to use it.


Files
-----

  ffs2pfs-src/c/          the converter: the core (no AmigaOS calls),
                          amiga.c (the Shell), gui.c (the window,
                          GadTools) and host.c (for the tests)
  ffs2pfs-src/tests/      the test harnesses (Python), and tests/amidisk/,
                          the readers they check images with (RDB, FFS,
                          PFS3)
  ffs2pfs-src/check/      reads converted images with the real pfs3aio
                          handler (through AmiFUSE)
  ffs2pfs-src/tools/      test image makers; amiga/crcwalk.c lists the
                          CRC of every file on a volume
  ffs2pfs-src/ref/        pfs3aio 19.2, which the program carries, and
                          its licence
  ffs2pfs-src/README.md   the full documentation: how it works, and the
                          tests and their results


Building
--------

The Amiga binary is cross-compiled with vbcc and the NDK 3.2; the host
build (the same converter on a disk image file, for the tests) needs gcc:

  make -C c ffs2pfs NDK32=/path/to/NDK3.2
  make -C c f2p_host

The Makefile turns ref/pfs3aio into C data with xxd. The program is
built with -cpu=68000 and runs on every Amiga with Kickstart 2.04 or
later.


Testing
-------

The tests cut a conversion off after every single block write, also with
the last write torn, and check that it then either finishes or rolls
back to the FFS volume it was, with every file intact. README.md has the
suites and their results.


History
-------

  0.3  first release on Aminet: the window, and the Shell


Credits
-------

  Michiel Pelt and Toni Wilen   pfs3aio 19.2 (ref/pfs3aio), under the
                                licence in ref/pfs3aio.LICENSE. This
                                product includes software developed by
                                Michiel Pelt.
  terriblefire                  ffs2pfs


Contents of disk/misc/ffs2pfs-src.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/
-rw-r--r--     0/0        4714   12162  38.8% -lh5- 065f Nov 22 10:56 ffs2pfs-src/README.md
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/c/
-rw-r--r--     0/0         495     905  54.7% -lh5- b0ba Nov 22 10:56 ffs2pfs-src/c/Makefile
-rw-r--r--     0/0       11420   34611  33.0% -lh5- 992a Nov 22 10:56 ffs2pfs-src/c/amiga.c
-rw-r--r--     0/0         988    2149  46.0% -lh5- 5b45 Nov 22 10:56 ffs2pfs-src/c/amiga.h
-rw-r--r--     0/0       13240   47652  27.8% -lh5- 770b Nov 22 10:56 ffs2pfs-src/c/convert.c
-rw-r--r--     0/0        3341    8872  37.7% -lh5- 9b42 Nov 22 10:56 ffs2pfs-src/c/f2p.h
-rw-r--r--     0/0        5527   19076  29.0% -lh5- 526d Nov 22 10:56 ffs2pfs-src/c/ffs.c
-rw-r--r--     0/0       12170   38071  32.0% -lh5- 4a27 Nov 22 10:56 ffs2pfs-src/c/gui.c
-rw-r--r--     0/0        2090    5582  37.4% -lh5- 6698 Nov 22 10:56 ffs2pfs-src/c/host.c
-rw-r--r--     0/0        5926   20680  28.7% -lh5- ce93 Nov 22 10:56 ffs2pfs-src/c/pfs3.c
-rw-r--r--     0/0        4602   16409  28.0% -lh5- c4ad Nov 22 10:56 ffs2pfs-src/c/plan.c
-rw-r--r--     0/0        3176   10695  29.7% -lh5- 3f47 Nov 22 10:56 ffs2pfs-src/c/rdb.c
-rw-r--r--     0/0         741    1594  46.5% -lh5- 5e34 Nov 22 10:56 ffs2pfs-src/c/util.c
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/check/
-rw-r--r--     0/0        1412    3030  46.6% -lh5- 6455 Nov 22 10:56 ffs2pfs-src/check/amibridge.py
-rw-r--r--     0/0        1345    2962  45.4% -lh5- 36f5 Nov 22 10:56 ffs2pfs-src/check/handler_check.py
-rw-r--r--     0/0        1493    3300  45.2% -lh5- bc80 Nov 22 10:56 ffs2pfs-src/check/handler_links.py
-rw-r--r--     0/0        1835    3913  46.9% -lh5- 3958 Nov 22 10:56 ffs2pfs-src/check/handler_write.py
-rw-r--r--     0/0         777    1583  49.1% -lh5- f050 Nov 22 10:56 ffs2pfs-src/check/pfsbridge.py
-rw-r--r--     0/0         368     610  60.3% -lh5- 0d18 Nov 22 10:56 ffs2pfs-src/check/pfsformat.py
-rw-r--r--     0/0         840    1716  49.0% -lh5- 9c61 Nov 22 10:56 ffs2pfs-src/check/pfsls.py
-rw-r--r--     0/0        1052    2371  44.4% -lh5- 62a2 Nov 22 10:56 ffs2pfs-src/ffs2pfs-src.readme
-rw-r--r--     0/0        2413    5968  40.4% -lh5- b847 Nov 22 10:56 ffs2pfs-src/ffs2pfs.readme
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/ref/
-rwxr-xr-x     0/0       37832   59120  64.0% -lh5- 493c Nov 22 10:56 ffs2pfs-src/ref/pfs3aio
-rw-r--r--     0/0         842    1617  52.1% -lh5- c0a1 Nov 22 10:56 ffs2pfs-src/ref/pfs3aio.LICENSE
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/tests/
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/tests/amidisk/
-rw-r--r--     0/0           0       0 100.0% -lh0- 0000 Nov 22 10:56 ffs2pfs-src/tests/amidisk/__init__.py
-rw-r--r--     0/0         978    2667  36.7% -lh5- 4dec Nov 22 10:56 ffs2pfs-src/tests/amidisk/blockdev.py
-rw-r--r--     0/0        3174    9920  32.0% -lh5- 50d3 Nov 22 10:56 ffs2pfs-src/tests/amidisk/ffs.py
-rw-r--r--     0/0        5057   18858  26.8% -lh5- 59e4 Nov 22 10:56 ffs2pfs-src/tests/amidisk/pfs3read.py
-rw-r--r--     0/0        1944    5767  33.7% -lh5- d3c0 Nov 22 10:56 ffs2pfs-src/tests/amidisk/rdb.py
-rw-r--r--     0/0        2779    7481  37.1% -lh5- 4528 Nov 22 10:56 ffs2pfs-src/tests/amidisk/rdbfs.py
-rw-r--r--     0/0        1486    3966  37.5% -lh5- 983e Nov 22 10:56 ffs2pfs-src/tests/amidisk/verify.py
-rw-r--r--     0/0        1298    2911  44.6% -lh5- 9ff6 Nov 22 10:56 ffs2pfs-src/tests/crash_c.py
-rw-r--r--     0/0        1816    3936  46.1% -lh5- 2659 Nov 22 10:56 ffs2pfs-src/tests/crash_c2.py
-rw-r--r--     0/0        1442    3193  45.2% -lh5- 5639 Nov 22 10:56 ffs2pfs-src/tests/crash_vamos.py
-rw-r--r--     0/0        4798   14743  32.5% -lh5- e94b Nov 22 10:56 ffs2pfs-src/tests/k8_ffs.json
-rw-r--r--     0/0        2399    7144  33.6% -lh5- 7a04 Nov 22 10:56 ffs2pfs-src/tests/k8o_ffs.json
-rw-r--r--     0/0        1777    4361  40.7% -lh5- c54e Nov 22 10:56 ffs2pfs-src/tests/probe_c.py
-rw-r--r--     0/0        4148   11225  37.0% -lh5- b843 Nov 22 10:56 ffs2pfs-src/tests/rollback_c.py
-rwxr-xr-x     0/0         634    1452  43.7% -lh5- 981c Nov 22 10:56 ffs2pfs-src/tests/run_host_all.sh
-rw-r--r--     0/0        1025    1910  53.7% -lh5- 40f3 Nov 22 10:56 ffs2pfs-src/tests/run_vamos_all.sh
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/tools/
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Nov 22 10:56 ffs2pfs-src/tools/amiga/
-rw-r--r--     0/0        1530    4135  37.0% -lh5- ce90 Nov 22 10:56 ffs2pfs-src/tools/amiga/crcwalk.c
-rw-r--r--     0/0        1154    2390  48.3% -lh5- 7a7d Nov 22 10:56 ffs2pfs-src/tools/mkffs_handler.py
-rw-r--r--     0/0        1034    2263  45.7% -lh5- 4cf6 Nov 22 10:56 ffs2pfs-src/tools/mklinkimg.py
-rw-r--r--     0/0        1019    2219  45.9% -lh5- 378a Nov 22 10:56 ffs2pfs-src/tools/mktestimg.py
-rw-r--r--     0/0        1994    4640  43.0% -lh5- a070 Nov 22 10:56 ffs2pfs-src/tools/mktestimg2.py
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        53 files  160125  419829  38.1%            Nov 23 01:44
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>