home *** CD-ROM | disk | FTP | other *** search
-
- DeadAlloc - A program for allocating dead tracks on AmigaDos [OFS] floppys.
-
- (c) Tim MacKenzie.
- 13/8/90.
-
- ---------------------------------------------------------------------
- This program may be freely redistributed and modified as long as this
- copyright message remains intact and such activity is not for profit.
- The author (thats me) takes no responsibility for any damage/loss/&c
- resulting from the use/misuse of this program.
- ----------------------------------------------------------------------
-
-
- Everyone (well nearly) has a few disks which have a few dead tracks on them
- making them (the disks) quite useless to AmigaDos when you try to write
- to them. IbM owners dont worry about this as their OS kindly allocates
- these tracks and continues on it's merry way (It's only a simple minded
- system so it's allowed to be _merry_). AmigaDos is not quite so kind,
- so here is this program to do the allocation for you.
-
- This program creates a file "...dead" which contains all of the
- dead/unusable tracks on a floppy. This allows the floppy to be used
- normally for data, programs etc. The program does not recover tracks,
- it just tells the file system that they are allocated and are hence not
- used for 'useful' data. Creation of the file "...dead" stops the tracks
- being deallocated when the disk is re-validated after a crash &c.
-
- To use:
- DeadAlloc [df?:] [-n] [-m]
-
- :- df? selects the drive to operate on. [default is df1:]
- :- -m stops the program from creating the file.
- :- -n allows the program to doubly allocate tracks. ie. It will
- reallocate tracks (This is not a good idea)
-
- DeadAlloc ?
- Will display the options.
-
- Notes:
- 1: It is a good idea to use the program on empty disks. This prevents
- the situation of reallocating a block which belongs to an
- existing file.
- 2: The file created has no delete privaliges. To delete it you must
- change it's protection with 'protect ...Dead +d'
- 3: The program will exit if a '...Dead' file already exists.
- 4: If you reallocate blocks then delete both files which have a claim
- to that block then you will receive a 'Disk corrupt' message.
- 5: Sometimes the disk checker will not pick up a dead track. In this
- case you should delete the '...Dead' file and retry.
- 6: The source compiles with DICE. Manx/Lattice users need to change
- the #includes and include Open/Close Library routines
- !!thanx Matt!!.
- 7: A disk with tracks 40 or 0 dead may be unrecoverable/unuseable.
- 8: If you use the program on disks with existing files and it informs
- you that a block is already allocated then no file will be
- created and no blocks allocated. You must remove the
- offending file and retry.
-
-
- My Address.
- Tim MacKenzie.
- 36 Alexander Ave
- Upwey, Victoria.
- AUSTRALIA. 3158.
-
- Internet: ins425v@monu4.cc.monash.edu.au (til Nov '90)
- ins425v@monu3.cc.monash.edu.au ( ----"----)
-
- Any Donations, suggestions, thanx, Fan mail, flames etc are most welcome :-}
-