Before Bride of Frank | Boycott Citgo | 9/11 White Van Camera Crew | Hudson County Politics | Hudson County Facts | Outlaw Motorcycle Gangs | New Jersey Mafia | Hal Turner, FBI Informant
Removing Viruses and Spyware | Reinstalling Windows XP, Vista, or 7 | Reset Windows Passwords | Windows Blue Screen of Death | Computer Noise | Don't Trust External Hard Drives!
Internet Advertising SEO - Search Engine Optimization - Search Engine Marketing - SEM iTunes Beatles Billboards Anthony Olszewski Intellectual Predator Email this Page


COMPUTERCRAFT -- Utility Program Library
Hard Drive Test and Repair

Copyright 1991, P. R. Fletcher

In addition to its testing function, HDTEST has been reported to be useful as an automatic disk repair utility for both hard and floppy disks which have developed (especially) intermittent or persistent read errors, preventing or impeding their normal use. Although HDTEST cannot read the totally unreadable, it tries much harder that DOS does and will almost always, in the course of its operation, allow you to recover the entire readable portion(s) of a file with one or more unreadable clusters in it, optionally either remapping all of what it reads from the disk or replacing bad sectors (the default) or clusters with NULLs.

HDTEST is not an alternative to backing up your floppies and/or hard disk -- it may sometimes be able to save your neck when you forgot or your backup went bad too! On hard disks which have developed intermittent read errors, running HDTEST can sometimes totally cure the problem, presumably because the "flaky" sectors get rewritten and the minor misalignments and/or weakening of the magnetic "image" which were causing the trouble are corrected when the data is rewritten.

In its default ("slow") mode, HDTEST writes 20 different test patterns to every cluster on the disk and checks that each pattern can be read back correctly, while preserving (and eventually restoring) the contents of the clusters that contain data. HDTEST can even (on many devices) detect hard disk errors which are minor enough to be correctable (and corrected) by the disk controller's own "error- correcting code" (ECC). These errors are normally totally invisible to programs running under DOS and will not usually be picked up by other disk test utilities. They may, however, be early signs of problems that will become significant later, and HDTEST consequently marks these clusters, too, as bad. As long as HDTEST can read the data from a flaky cluster correctly once (and it tries quite hard) it will be able to save the file of which that cluster is a part intact, while marking the cluster so that DOS does not try to use it again.

The program was designed to minimize the likelihood of user error causing data loss on a good (or slightly bad) disk, and to be as easy as possible to use. It could not be made very fast, since multiple bit patterns have to be written to and read from each cluster, and this takes a significant time even on a fast hard disk. The program does, however, have a less sensitive "fast" test mode, which writes only two test patterns to each block and is recommended for use when testing/repairing floppy disks and/or to correct intermittent problems or rule out gross problems on a hard disk.

The program can be used to test/repair single and double-sided 8- and 9-sector minifloppies (if you have plenty of patience!), as well as AT-format 1.2Mb minifloppies, 8" standard floppies, and 3.5" microfloppies (with the same proviso regarding a need for patience).

HDTEST's companion program, HDCHEK, simply examines the logical structure of the system and target device and gives a short report on what it finds. It does not write to the disk, and is provided principally to allow a quick and easy, but fairly reliable, check on the compatibility between HDTEST and a given software/hardware configuration. As part of its report, HDCHEK notes at what level (DOS interrupts only, INT 13, or direct entry to the BIOS) it was able to access the target device, which has a bearing on HDTEST's ability to detect certain types of errors. In general, if HDCHEK runs successfully on a system and target device, then HDTEST can be expected to do so, although the latter program requires much more available memory.


Second Thief, Best Thief
New Jersey Short Stories

Nunchaku Style Bike Lock on Wheel
Great New Bike Lock!
$25 – Lock Included – Free Shipping in the USA
Payment by PayPal – E-mail
Mail Orders Accepted

I Love Hoboken!

Hal Turner sues 7chan, 4chan, ebaumsworld and others.
Hudson County Hate Monger and FBI informant Hal Turner charges in suit:
"Criminal activity . . . includes photographs of pre-teen and teenage girls in various states of undress."

New York City Politics Message Board
Brooklyn Politics: The Saga of Brooklyn District Attorney Charles "Joe" Hynes
The Prosecution of New York City Political Activists John O'Hara and Sandra Roper
Courts Take Property and Freedom from Judge John Phillips by Declaring him "Mentally Incapacitated"

The Trail of the Tiger – Tammany: 1789-1928
Boss Tweed and The History of New York City Political Corruption

Theft by deception as a way of life . . .

Hudson County Facts

James McGreevey vs. Bret Schundler
The 2001 Race for Governor of New Jersey

Martin Bormann Nazi in Exile

Now on Sale at Amazon

Hudson County Facts Winter 2006 by Anthony Olszewski
Hudson County, New Jersey is a place of many firsts - including genocide and slavery.
Political corruption is a tradition here.
First issue in a series by Anthony Olszewski – Click HERE to find out more.

Print Edition Now on Sale at Amazon

Read Online at
Google Book Search

Advertiser and Distributor
Inquiries Welcome

Marvin Corwick
New Jersey State Employee is Fired
"the release of the information, done against the advice of staff and without the authorization of his superiors, showed a lack of good judgment and undermined the hard-earned faith and trust in the division as an impartial assistant to local governments."

Page continues BELOW this image!
How to Care for Tropical Fish, Parrots, and other Pets

Deprecated: Function split() is deprecated in /home/content/87/3992587/html/computercraft/ on line 256

Fatal error: Call to undefined method baseParserClass::baseParserClassWithExtensions() in /home/content/87/3992587/html/computercraft/ on line 1691

Deprecated: Function split() is deprecated in /home/content/87/3992587/html/computercraft/ on line 256

Fatal error: Call to undefined method baseParserClass::baseParserClassWithExtensions() in /home/content/87/3992587/html/computercraft/ on line 1691

Great Domains for Sale

New Forces in
NJ Organized Crime
On sale at Amazon

SEO and Flash

Svedka female robot
The Svedka female robot wants you!

Corona Beer Subliminal Advertising

"Our Computers Don't Make Mistakes"

The Advance-Decline Line As A Tool In Technical Market Analysis

Intellectual Predator
Shines the Light of Reason on New Jersey Politics

Roger Chugh: The Third Most Powerful Official in Trenton
New Jersey Governor McGreevey's Close Confidant

The New Jersey Mafia

George Washington to Run for Office!

James McGreevey of New Jersey
Sex Scandal Prompts Resignation

Feds Charge Herbert Axelrod
As White Color Criminal And Fugitive

The Canary FAQ
Answers Your Frequently Asked Questions About
Keeping and Breeding Canaries

The Keet FAQ
Answers Your Frequently Asked Questions About
Keeping and Breeding Parakeets and Budgerigars


Return To The COMPUTERCRAFT Main Menu

Asbury Park
Bruce Springsteen's Jersey Shore Rock Haven!

Featured Link
Great Domain Names For Sale!
Very brandable Domains for Sale -- The GET NJ family of Sites, managed by Anthony Olszewski, features tens of thousands of Pages Online at dozens of active domains, many with a New Jersey focus. Other advertising opportunities including enterprise and exclusive placements exist at a wide range of Web Sites. Your ad can appear at one Page or at many, many thousands of Pages simultaneously! A large slice of the domains have been Online for more than five years, some for over ten! In addition to advertising, many great Domains are available for purchase or license

Text Link Advertising Program
Business name, Web Site Link and a brief description or motto – runs for one month in the Page (or Pages) of your choice.

Hudson County Politics
From Frank Hague to Robert Janiszewski, in this New Jersey county, political corruption is a tradition. Former NJ Governor Brendan Byrne wants to be buried here so he can stay active in Democratic politics! You'll find lots about Senator Robert Menendez, too.

GRAVE ROBBER Jersey City Computer Repair
297 Griffith Street, Jersey City, NJ - 201-798-2292 - In the Heights just off of Kennedy Blvd. - Very close to Journal Square and Union City, just five minutes away from Hoboken, Downtown Jersey City, Newport, the Waterfront, Secaucus, North Bergen and Weehawken - Tech support for The Jersey City Mayor's Office during the administration of Bret Schundler - PC repair - Tivos, too!, upgrade, hardware install, software install, data recovery, spyware removal, virus removal, replace hard drive, replace motherboard, data recovered from notebook computers, recover lost XP passwords, password recovery

The Statue of Liberty, Ellis Island, and The Central Railroad Terminal
Visit Liberty State Park!

Stealth Jet at the World Trade Center During OpSail 2000
For All Sorts of Unique New York City Information, Visit GET NY!