[Coco] Tool Shed Issues

Alex Evans varmfskii at gmail.com
Wed Nov 27 15:58:39 EST 2024


I believe the cluster size is required to be a power of 2.


On Wed, Nov 27, 2024 at 2:14 PM Allen Huffman via Coco <coco at maltedmedia.com>
wrote:

> > On Nov 27, 2024, at 12:30 PM, L. Curtis Boyle via Coco <
> coco at maltedmedia.com> wrote:
> >
> > Actually, RBF has an internal limit of 2048 sectors (or clusters) per
> segment. It has to do with buffering the allocation table one sector at a
> time. Setting the drive’s device descriptor with DMODE to force SAS=ff (to
> force it to attempt to allocate at least 255 sectors per cluster) helps
> make bigger files within NitrOs9; not sure on the utility.
> >
> > This allows a lot more than 3 or 4 MB (and I know we did that at work
> regularly) per file. But a high SAS setting was pretty critical for that
> working.
>
> Hi Curtis. Help refresh my brane a bit…
>
> I never played with adjusting the cluster size because I had read so many
> utilities did not honor it and could cause corruption. Did you run in to
> that?
>
> By default, OS-9 shipped with a cluster size of one 256-byte sector. This
> made the smallest file, like a text file just containing the text “42”,
> take up 256 bytes on the disk.
>
> Would using 255 mean that same text file of “42” would now take 255*256
> bytes (65280 bytes)?
>
> Hmmm, is it really 1-255? What happens if you put zero there?
>
>                 — A
>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list