Hacker News new | ask | show | jobs
by obarthel 2820 days ago
Smaller than 512 bytes? I beg to differ. The file system data structure layout requires a minimum of 512 bytes per block.

The Amiga OFS/FFS, etc. file system data structures scale with the block size (block sizes of 512, 1024, .., 65536 bytes are possible).

At 256 bytes per block, for example, the directory hash table size would shrink so much that you'd have so many hash collisions that it would be morbidly funny...

Anyway, the data blocks in OFS have to account for the checksum and some metadata which aids in recovery. So you are correct that the payload (488 bytes for a 512 byte block) is smaller than the raw block size.

2 comments

On a separate note, as I understand there's e.g. library updates, are you releasing a NDK and/or documentation for 3.1.4 development?
The focus of AmigaOS 3.1.4 development work was on fixing bugs, integrating code which so far had been separate (e.g. the mass storage drivers last updated in AmigaOS 3.9) and generally making it easier for Amiga hardware developers to make use of the operating system (e.g. adapt the operating system rather than force the developers to twist their designs).

The AmigaOS 3.9 NDK ("native development kit") is still relevant for the AmigaOS 3.1.4 update.

The 3.1.4 update added new API functionality, but these changes are few and could (= will) be covered separately.

I'm looking forward to that. Never been too fond of 3.9 as a target :).
Payload vs block size. Noted.