[WarpCast] Resetting HPFS dirty flag - 6/04/99




   Inet.Mail 1.3 -- The best mail server on OS/2 just got better!
    Audit Capabilities, More Spam Control, Improved Performance
         Visit us at http://www.hethmon.com/inetmail.html
         for full details. A free update for current users.
****************************** WarpCast ******************************
Source: Mike Ruskai (thanmeister@geocities.com)
Moderator: Dirk Terrell (admin@os2ss.com)
**********************************************************************
 
For reasons of personal need, I wrote a small 
program that toggles the "dirty" status of an HPFS 
drive.  Since I have over the years seen many 
questions about how to do that, for this reason or 
that, I decided to polish the program up a bit and 
release it, with the source code.  

There are really only two good reasons to use it:

1)  You are developing a program which forces 
frequent hard resets on you, and you're tired of 
losing development time to CHKDSK.

2)  You have a drive which CHKDSK is unable to 
complete on, and you'd like to make it readable to 
recover data before reformatting (to possibly 
discover that the drive is near death - the reason I 
wrote the program in the first place).

You can accomplish the same thing with a sector 
editor, by changing bit 0 of byte 8 on sector 17.  
Or, you can use GammaTech's GTDISK program.  This 
program is merely a small, free, and simple 
alternative.

Since the program does modify your drive below the 
file system level, it is possible for damage to be 
done in the event that bad information is returned 
(such as an incorrect sector size, which could be 
caused by a corrupted boot sector).  Use the program 
at your own risk.

It is currently located at:

ftp://hobbes.nmsu.edu/pub/incoming/hpfsdt.zip

Once archived, it will be at:

ftp://hobbes.nmsu.edu/pub/os2/util/disk/hpfsdt.zip





----------------------------------------------------------------------
To subscribe, unsubscribe, or for more information on
WarpCast, visit: http://www.warpcast.com/
----------------------------------------------------------------------

WarpCast Archives - Courtesy of VOICE International