[Coco] Another Coco Virtual Disk Util

Gene Heskett gheskett at wdtv.com
Wed Oct 23 21:28:10 EDT 2013


On Wednesday 23 October 2013 21:25:05 Wayne Campbell did opine:

> Thanks for the correction, Gene. :)
> 
> I knew it was something like that, but didn't know the specifics. Looks
> like 93 megs isn't the line after all.
> 
Nope, 93 megs is still 1 sector/cluster.

> Walt, would you add the ability to select cluster size to the format
> function? Oh, and this reminds me, can you make the naming function come
> into play when formatting? I keep forgetting to name the disk.

Huh?  There is a command line option, or it will stop before the verify 
phase and ask you for the disks name.  I don't know as theres an option not 
to name it.
 
> Wayne
> 
>  On Oct 23, 2013 2:20 PM, "Gene Heskett" <gheskett at wdtv.com> wrote:
> > On Wednesday 23 October 2013 14:13:53 Wayne Campbell did opine:
> > > I may be mis-remembering something. I do recall that if I change the
> > > cluster size it will affect how many sectors are used when
> > > allocating space for a file, or to increase the allocation for a
> > > file. The minimum is 1-sector clusters, and over a certain size of
> > > drive space (I seem to recall it being $5A000) you cannot use
> > > 1-sector clusters.
> > > 
> > > If someone knows what I am talking about, please feel free to
> > > correct me or back me up, whichever is required.
> > > 
> > > Wayne
> > 
> > In decimal sizes, it falls over at slightly above 131 megabytes, or if
> > speaking in hex, 128 megabytes in 1024 per kilobyte measure.
> > above that, cluster size has to grow in powers of 2.  I have 2 1Gb
> > drives, the original uses a cluster size of 4 and is about 480
> > megabytes so I can use some of the rest as HDBDOS vdrives, the added
> > twin is at cluster size=16 ($10 in hex) as the whole gigabyte is
> > formatted for os9.
> > 
> > >  On Oct 22, 2013 10:54 PM, "Bob Devries" <devries.bob at gmail.com> 
wrote:
> > > > Wayne,
> > > > I think you're confusing Segment Allocation Size with Cluster
> > > > Size. They are totally different.
> > > > 
> > > > Cluster size is determined at format time (on the Format command
> > > > line in NitrOS9), and is the number of sectors which are
> > > > "clustered" together as a single addressable unit. On hard disks,
> > > > this can be set to any number (must be power of 2).
> > > > 
> > > > Segment allocation size is the number of sectors (or clusters)
> > > > allocated at one time when creating or extending a FILE on the
> > > > disk. Remember, a directory is just another file to OS-9.
> > > > 
> > > > Regards, Bob Devries
> > > > Dalby, QLD, Australia
> > > > 
> > > > ----- Original Message ----- From: "Wayne Campbell"
> > > > <asa.rand at gmail.com> To: "CoCoList for Color Computer Enthusiasts"
> > > > <coco at maltedmedia.com> Sent: Wednesday, October 23, 2013 12:13 PM
> > > > Subject: Re: [Coco] Another Coco Virtual Disk Util
> > > > 
> > > > 
> > > > Luis,
> > > > 
> > > > The OS9 format command defaults to 32 sector minimum allocation.
> > > > You can change it by using the appropriate flag in the command
> > > > line (not sure of its option name offhand). I learned years ago
> > > > that the max size set for hd's is because it is the max size you
> > > > can use 1-sector allocations with. I keep forgetting to specify
> > > > that when I format a vhd with that command.
> > > > 
> > > > Wayne
> > > > 
> > > > On Oct 22, 2013 10:02 PM, "Luis Fernظ„ndez"
> > > > <luis46coco at hotmail.com>
> > 
> > wrote:
> > > >  Wayne. I think that  OS9 has PD.SAS  Segment allocation size
> > > >  
> > > >> Minimum size of segment allocation (number of sectors to be
> > > >> allocated at one time)
> > > >> I think it is for new directories (usually minimum 8 sectors)
> > > >> not whether to also file
> > > >> 
> > > >> 
> > > >> --
> > > >> Coco mailing list
> > > >> Coco at maltedmedia.com
> > > >> http://five.pairlist.net/**mailman/listinfo/coco<http://five.pair
> > > >> list .net/mailman/listinfo/coco>
> > > > 
> > > > --
> > > > Coco mailing list
> > > > Coco at maltedmedia.com
> > > > http://five.pairlist.net/**mailman/listinfo/coco<http://five.pairl
> > > > ist. net/mailman/listinfo/coco>
> > > > 
> > > > --
> > > > Coco mailing list
> > > > Coco at maltedmedia.com
> > > > http://five.pairlist.net/**mailman/listinfo/coco<http://five.pairl
> > > > ist. net/mailman/listinfo/coco>
> > > 
> > > --
> > > Coco mailing list
> > > Coco at maltedmedia.com
> > > http://five.pairlist.net/mailman/listinfo/coco
> > 
> > Cheers, Gene
> > --
> > 
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > 
> > -Ed Howdershelt (Author)
> > 
> > BOFH excuse #54:
> > 
> > Evil dogs hypnotised the night shift
> > A pen in the hand of this president is far more
> > dangerous than 200 million guns in the hands of
> > 
> >          law-abiding citizens.
> > 
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > http://five.pairlist.net/mailman/listinfo/coco
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

We all know that no one understands anything that isn't funny.
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.



More information about the Coco mailing list