[Coco] Large file deletion fails on NitrOS9/6309
deek at d2dc.net
Tue May 26 16:37:35 EDT 2020
My disk isn't larger than 128MB, they're normal CoCoSDC-sized
127.99-megabyte "super floppies". It's the file that is causing something
in NitrOS9 to explode.
New information: the same file, on an otherwise-empty SDC image (machine:
6309 CoCo3, Boomerang E2, CoCoSDC), causes NitrOS9/6309 to crash with a
random BOOT FAILED error on my CoCo3 when trying to delete it. A similar
thing happens in MAME 221, only it just hangs the machine solid.
the same file reads and writes fine, it's only deleting it that causes the
system to explode.
On Tue, May 26, 2020 at 3:06 PM Alex Evans <varmfskii at gmail.com> wrote:
> Considering all the trouble it caused with some utilities, I just
> avoid multisector clusters and live with volume sizes <~128MB.
> On Tue, May 26, 2020 at 2:40 PM Jeff Teunissen <deek at d2dc.net> wrote:
> > Deleting files that cross a $x000 cluster boundary seems to be broken in
> > the latest NitrOS9, and probably has been for a very long time.
> > I have an uncompressed .ar file, 'cococ.ar', that's about 3 megabytes in
> > size. I use it to move up-to-date C source code from my Linux system to
> > virtual CoCo hard disks. When I delete the archive from the disk, the
> > system mostly locks up -- that is, the "delete" command never finishes
> > no programs can be run, though things like CLEAR to change windows still
> > function normally.
> > When I issue the command "del cococ.ar", the directory entry is marked
> > deleted as expected, and the allocation map is updated...but it seems to
> > stop updating the disk allocation map at the next $x000 cluster boundary.
> > On the disk, the file starts at cluster $189C and goes all the way to
> > cluster $5A80, and is referenced in LSNs 4-12. The deletion succeeds up
> > the end of LSN 4, which describes clusters $1800-$1FFF, and then nothing
> > further works.
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
> Coco mailing list
> Coco at maltedmedia.com
More information about the Coco