[Coco] os9 tool sees disk as full when it's not
Alex Evans
varmfskii at gmail.com
Mon Nov 4 09:47:40 EST 2019
Assuming this is a disk image you got from somewhere else, the disk
may have been created with nearly all the clusters marked as used. I
would suggest looking at the allocation map. If those sectors are all
0xFF, then the disk is really marked as full and the os9 command is
reporting the true situation. Try making another empty disk image,
copying all the files you want from this image to that one, and seeing
how much space you have free.
On Mon, Nov 4, 2019 at 9:35 AM Walter Zambotti <zambotti at iinet.net.au> wrote:
>
> Having trouble using the os9 tool on Unbuntu 18.04.
>
> The tool tells me the 720k floppy is full when there is only 80k of
> files listed.
>
> $ os9 free ~/Projects/OVCC/CoCo/dsks/ANSIFRONT.os9
>
> "NitrOS-9/6809 Level 2" created on 05/29/2019
> Capacity: 720KB (2880 sectors) 1-sector clusters
> 0 Free sectors, largest block 0 sectors
> Free space: 0KB (0 bytes)
>
> $ os9 dir -e ~/Projects/OVCC/CoCo/dsks/ANSIFRONT.os9
>
> Directory of
> /home/odroid/Projects/OVCC/CoCo/dsks/ANSIFRONT.os9,
> Owner Last modified Attributes Sector Bytecount Name
> ------- --------------- ---------- ------ --------- ----
> 0.0 2011/08/27 1838 ----r-wr 21 30150 ansifront.c
> 0.0 2011/08/27 1839 ----r-wr 9F6 6027 ansifront.h
> 0.0 2011/08/27 1840 ----r-wr A0F 13373 binexpr.c
> 0.0 2011/08/27 1842 ----r-wr A45 30012 decl.c
> 0.0 2011/08/27 1843 ----r-wr ABC 0 expr.c
>
> So at the moment I can only copy a few files back and forth at a time.
>
> Is this a known issue or do I need to use certain options?
>
> Walter
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list