Re: cluster size
- Posted by Kat <gertie at PELL.NET> Jan 28, 2002
- 467 views
On 27 Jan 2002, at 20:52, Dan Moyer wrote: > > Sorry, I didn't explain in enough detail. Although I was speaking in > particular about two different drives, the second one *is* partitioned, > which from Vern & Elliott's explanations now seems to be the cause of the > different minimum cluster sizes. Ok, sorry, i didn't understand. > But independent of the cause, & unrelated to how to *change* the minimum > cluster size, what I need to be able to do is *programmatically* find out > *what* the minimum cluster size on any specified drive in any users system > is. > > Reason is, I'm trying to finish up a "what all's taking up so much space on my > drive!" utility I had started once before & couldn't get to work quite right, > which now does work except for knowing the actual minimum cluster size for any > drive. Ok, look to the end of function disk_free_space() in Craig Gilbert's diskutil.e in http://www.rapideuphoria.com/diskutil.zip It's dos. Also, look in function GetDiskFreeSpace() in win32lib v0.15c. Kat