home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
diskmanager
/
blocksize_2
/
!BlockSize
/
!Help
next >
Wrap
Text File
|
1996-01-23
|
2KB
|
42 lines
—————————
BlockSize 1.12
—————————
Written by Darren Salt
Supports interactive help
This is a small utility which counts the disk space used by files. All you
need to do is to drag one or more files or directories to the BlockSize icon.
A window looking like that for a normal Filer count operation will be
opened; indeed it works like a Filer action window.
It has its own menu, with a 'Faster' option at the top (working much as its
Filer equivalent), and a list of numbers below. These numbers represent
various sector sizes or allocation units - initially the sector size is
selected (and is shown in red to indicate that it is the sector size), so for
a normal ADFS disk (800K or 1600K), the selected size will be 1K.
Selecting a different size causes the display to be updated immediately
(BlockSize keeps a count for each possible size).
BlockSize can handle archives, with the following restrictions: if you drag
the archive to BlockSize, or if it encounters an archive, it is treated as a
file; the archive contents, if dragged to BlockSize, are treated as if not
archived.
IMPORTANT: Directories normally occupy 2K each, but in ArcFS archives are
stored with length = -1, and in Spark archives with length &29*(number of
entries)+2. On DOS-format disks, the size is a multiple of 512 bytes (16
bytes per entry). Therefore BlockSize quite reasonably assumes that all
directories require 2K.
Note that with some filing systems, the sector size may be different from
the allocation unit. If, for example, you have a hard disk formatted with a
sector size of 512 bytes, but has been initialised with an allocation unit of
1K, you will need to select '1K' from the count menu in order to get an
accurate result. [The 4K allocation unit is WASTEFUL!]
Statistics for !BlockSize:
Alloc. unit 64 128 256 512 1K 2K 4K
Disk space 26+3/8K 26½K 27¼K 28½K 32K 34K 52K