home *** CD-ROM | disk | FTP | other *** search
- Diskstat is a program intended to help you decide how you should partition
- your hard disk. It tells you how much wasted space you will have for each
- possible partition size. You then decide if you are likely to have more
- wasted space with the larger partition or at the end of the small ones.
-
- This is what it shows for my disk, run in the most usual way:
-
- C:\>diskstat \
- Total Clusters: 64413 Avail Clusters: 5174 Sectors/Cluster 16 Bytes/Sector 512
- Wasted as % of
- Cluster Size Wasted Bytes k Megabytes Allocated Used
-
- 512 1696580 1656 1.62 0.37 0.38
- 1024 3332932 3254 3.18 0.73 0.74
- 2048 6961988 6798 6.64 1.52 1.54
- 4096 14799684 14452 14.11 3.18 3.28
-
- 8192 * 31015748 30288 29.58 6.43 6.88
-
- 16384 64766788 63248 61.77 12.55 14.36
- 32768 142394180 139056 135.80 23.99 31.57
- 6056 files totalling 451099836 bytes (430.20 Mb). Average size 74488 bytes
-
- What this shows is that my current cluster size is 8k (the one with blank
- lines before and after it. At this cluster size I have 29 megabytes unused
- at the end of my files, which is about 7% of the disk space. If I switched
- to a smaller partition which had 4k clusters I could save about 15
- megabytes because there would only be 14 megabytes wasted. Because I tend
- to want to keep at least 10 megabytes empty to provide working room it's
- not worthwhile for me to make any change.
-
- These are the maximum sizes you can make a partition for each cluster size:
-
- Drive Size Sectors Cluster
- (partition size) Per Cluster Size
- ---------------- ----------- -------
-
- 0 MB - 15 MB 8 4K
- 16 MB - 127 MB 4 2K
- 128 MB - 255 MB 8 4K
- 256 MB - 511 MB 16 8K
- 512 MB - 1023 MB 32 16K
- 1024 MB - 2048 MB 64 32K
-
- If you like you can give wildcards for the files you're interested in.
- "diskstat c:\*.exe" would give you statistics for just the EXE files.
- Using "\gif\*.gif" would give you figures for only the *.GIF files in the
- directory \gif and all directories under it.
-
- If you want to see the directores that are being searched add a space and
- any letter after the file name. Add another for a listing of the file sizes
- and their attributes. "diskstat \ a b" would list all files and directories
- and give the standard summary afterwards.
-
- If you use one of the DOS disk compression programs the results will be of
- little value because those schemes don't use the standard cluster approach
- internally. you might still find the statistics useful - just don't
- expect them to help you pick a compressed partition size.
-
- The program works fine on the Netware 2.1, 3.11 and 3.12 drives I have. If you
- give a file specification that results in more than 64 gigabytes the results
- won't be useful because the byte counts will overflow.
-
- BUG: The program thinks that the current drive is the one you asked for. You
- can use "diskstat D:\" while on drive C but the cluster size that is
- highlighted will be the one for drive C. The figures are still correct.
-
- If you find this program useful and believe it's worth it, please check the
- current description in the Compuserve libraries to find it's shareware
- registration number. Then GO SWREG to pay the $5 payment I request. Thanks!
- Small VARs and computer dealers should pay the fee once for every 5 people
- they supply with the program. If you supply more than 100 copies a year, send
- me EMail and we can discuss a suitable charge and a less costly way to pay it.
-
- The program and this documentation are Copyright (c) 1994 James RW Day.
- You can contact me on Compuserve with ID 100276,3552 or using
- 100276.3552@compuserve.com on the Internet. Please use "DISKSTAT:" as part
- of your message title.