home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
180.lha
/
Storage3.DOC
< prev
next >
Wrap
Text File
|
1988-04-28
|
4KB
|
147 lines
Disk Storage 3.00 By: Khalid Aldoseri.
----------------------------------------
This is a small program that will run from either the WB or CLI. It will
open its own window and display a list of ALL currently mounted devices,
including hard disk partitions. The window looks like this:
Name: Size Free Alarm
DF0: 837 10 50
DF1: 837 129 50
DF2: - No Disk Present -
DH0: 19864 6742 993
DH1: 19734 1118 986
The Size column gives the actual capacity of the device in Kilobytes.
The Free columns gives the free space in the device. The Alarm column
is the level at (or below) which the program will highlight the device
row to warn you that there isn't much free space left in the device. If
the free space drops below the Alarm level while the program is running
it will flash all screens five times while also flashing the relevant item.
(P.S. The program will correctly reflect the size of the WB1.3 Fast File
System (FFS) hard disk partitions, and any other new disk formats.)
The Alarm level normally is 5% of the total capacity of the device
with a minimum alarm level of 50k. You can change the Alarm level by
clicking on the device row you want to change. A gadget will appear at
the bottom of the window. Enter the new Alarm level and hit return.
The program will update its display every 3 seconds. If you need to
get an immediate update just click on the first line, (the one with
the titles.) The program's window will be as big as it needs to be to
display all the mounted devices. The limit for that is 15 devices.
At the bottom of the window there is a small box with the current
free memory in the system. This is displayed as Chip, Fast and Total,
or as Chip, Fast and Static if there is any free memory above the normal
system addressing space (e.g. the CSA 32-bit memory board.)
The program has a menu attached to it with the following options:
CLEAR ALL:
This will reset the program to its original startup state.
CLEAR SELECTIONS:
This will clear all currently selected disks. (More on this later.)
REMOVE SELECTED DISKS:
This will remove disks from the display list. To do this just click
twice on each disk name you want to remove (the background color of
the line will change twice) and then select this menu item. You
can remove more than one disk at a time. Any disk removed will NOT
be checked for its alarm level any more.
REMOVE FLOPPY DISKS:
This will remove all floppy disks from the display list.
REMOVE ALL EXCEPT FLOPPIES:
No explanation needed!
REMOVE DISKS LESS THAT ALARM LEVEL:
This will remove all disks that are currently less that the Alarm
Level. (i.e. are currenly highlighted)
REMOVE DISKS MORE THAN ALARM LEVEL:
The opposite of the above.
REMOVE ALL DISKS:
Removes everything, and just keeps the memory display on.
MEMORY DISPLAY IS ON/OFF:
Turns the memory display on or off.
QUIT:
Guess what this does?!
Note: This program takes very little processor time. For example,
with three disks displayed, the program will only consume about 1/2 % of
processing time at the most. Its memory usage is around 10-15k.
Any comments, suggestions, complaints, etc. should be sent to me on
Compuserve ID number 75166,2531.
This program is placed in the Public Domain, you can spread it as
much as you like as long as you keep this file with it.
I hope you find this program as useful as I do.
Khalid Aldoseri.
CIS: 75166,2531.
Version 3.00 Comments:
All the known conflicts with other programs have been removed,
especially the one with AmigaMonitor.
Current Bugs:
- If you start the program while the computer is printing something,
a device might appear with a name of PAR: or SER:. The next version
of the program will deal with this, but you can just remove it from
the list for now.