TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Coridon Henshaw
from: Mike Ruskai
date: 1996-01-30 04:13:36
subject: Cluster algorithm

Some senseless babbling from Coridon Henshaw to Mike Ruskai
on 27 Jan 96  13:14:46 about Cluster algorithm...

 CH> On Tuesday January 23 1996 at 03:22, Mike Ruskai wrote to All:
 
 MR> This is the algorithm I'm using to determine a drive's cluster size
 MR> based on its size:

 CH> You are doing this the hard way.  Do a level 1 call to DosQueryFSInfo
 CH> and multiply sectornum by bytesnum and the result will be the cluster
 CH> size. 

DosQueryFSInfo is not a REXX internal function, nor is it part of the 
REXXUTIL dynamic link library.  

What I did was write a REXX program that scans the drive, and reports how 
much space is being wasted by files, or would be if the opposite file 
system was used.  Even if I wasn't using REXX, it would be of no use when 
calculating what the cluster size *would* be on a HPFS drive.

So far, no one has answered my questions with any clarity.  Does anyone 
know what the cluster size for a FAT volume would be between 16MB and 64MB?

Mike [Team OS/2]
mruskai{at}microfone.net


... Looks like I picked the wrong day to quit drinking.
~~~ ReneWave v1.01+
--- RG 10-5 Exp/GE 1.02+
* Origin: The Licking Factory, OS/2 in NJ! (908)815-3146 (1:107/634)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 107/634 677 696 411 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.