On Sun, 04 Jun 2000 19:41:27 +0200, Albert Beevendorp wrote:

>>   No! (-; This is why the original BADSCAN only marks "not used" sectors as
>>bad. I updated it to mark used also, but then I have to use CHKDSK (which
>>KNOWS bad sectors) to "cut" the files at the bad sectors position. The
>>error is that CHKDSK puts the FFF mark in the place of the BadSector mark,
>>when a file is "cutted". So, after run CHKDSK we have to run BADSCAN again.
>>This is why I'm trying to integrate them... And about relocate bad sectors...
>>I think maybe there is no way... (-; Not using the default (standard) read
>>methods.
>Oops, the proper value to write for a bad cluster is #FF7.shouldn't be that
>hard to fix I guess.

  Yup, but there is the need to unassemble CHKDSK and make it check the situation.
Unassemble CHKDSK is the hard work, not change it.

>> >I think (because of what you told me) not. In that case I'd prefer to have
>> >the info I requested so that I can make my own program. Then I'm sure it
>> >does what I want (and what it should do).
>>   If it's possible.
>Why shouldn't it be possible?

  Because reading with standard calls we cannot read bad sectors! The values
read are not the values on the sector.
  Maybe with direct access, I don't know. But on MegaSCSI I think it's not
possible, since the interface does everything (including reporting bad sectors
as "drive not ready" instead of read error... :-)



   -----     AbraçOS/2, Daniel Caetano ([EMAIL PROTECTED])
 /| | | |\
 \| ___ |/   OS/2 Sites:  http://www.quasarbbs.com/daniel/
\/ ----- \/               
http://www.geocities.com/SiliconValley/8752/os2hp/os2index.html
    | |      MSX Sites:   http://www.fudeba.cjb.net/
   -- --     Drawings:    http://www.djgallery.tsx.org/
...Programar e' a arte de organizar zeros e uns de forma que eles produzam trabalho 
util!


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
 The MSX faq: http://www.faq.msxnet.org/
 The MSX newsgroup: comp.sys.msx
 The MSX IRC channel: #MSX on Undernet
****

Reply via email to