🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #43977

Re: Is DOS Verify Useful?

#43977
From: BRADLEY GRIGOR
Date: Mon, 12 Mar 1990 20:44
24 lines
1534 bytes
I am developing an application that must run unattended and will
write certain important (valuable) data to both the hard disk and
a diskette.  As added protection, I am looking for a way to mark
new bad clusters on the fly, so that they do not become part of
the files being written.

I was hopeful that DOS would do this automatically when the disk
write verify flag is enabled (Int 21h, Function 2Eh).  However,
my tests seem to indicate that DOS only reports a write verify
error, but it does nothing about the bad cluster itself, such as
flagging it in the FAT and trying the next available cluster.

Can anyone tell me if there are DOS services to (a) identify the
cluster that caused the write verify error and (b) flag the
cluster in the FAT before retrying the operation?  Or will this
be a lot harder than simply invoking some internal DOS services?

Any relevant information or tips would be appreciated.  Thank
you.

bradley.grigor@canremote.uucp  :  ALEX is coming to Toronto in April.
Newmarket, Ontario, Canada     :  TelePoker will be there - will YOU?
---
 ~ DeLuxe 1.11 #4613  Don't worry: the answer's at the back of the book.
Technical Details
Message-ID: <90031216294862@masnet.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!bradley.grigor

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!bradley.grigor
From: bradley.grigor@canremote.uucp (BRADLEY GRIGOR)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Is DOS Verify Useful?
Message-ID: <90031216294862@masnet.uucp>
Date: 12 Mar 90 20:44:00 GMT
Organization: Canada Remote Systems Limited, Mississauga, ON, Canada
Lines: 24