Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

amemorex

What does ScanDisk do?

This topic is 5981 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What exactly does the ScanDisk program do? More specifically than "checking disk for errors". What kinds of errors? And how does it spot them? Also, how hard would it be to write my own primitive ScanDisk?

Share this post


Link to post
Share on other sites
Advertisement
Essentially, it scans the fat table and makes sure that everything in the table points to correct data(lost chains), or that the information is correct(timestamp)

Share this post


Link to post
Share on other sites
If you''re running 9x, usually nothing (as a fundamental design flaws prevents it from ever running to completion 99.999% of the time)

The FAT system keeps two copies of the allocation table, scandisk makes sure they are the same.

Share this post


Link to post
Share on other sites
quote:
Original post by Magmai Kai Holmlor
If you''re running 9x, usually nothing (as a fundamental design flaws prevents it from ever running to completion 99.999% of the time)



God I hated this bug. The same thing happened with defrag. Every time a background process changed something, it would start all over. I had a PII 300mhz running Win98, and I don''t think I defragged the HD for about 3 years.


Oh, and I could never shut it down, either. I tried all the shutdown fixes, but it never worked.

Share this post


Link to post
Share on other sites
And I think there is also a test it can do where it reads each sectir on the disk, and then rewrites it. If that fails, then it knows that this is a bad sector and can''t be used.

Trying is the first step towards failure.

Share this post


Link to post
Share on other sites
I use f5 and f8 (depends on which machine I am on) and run it from safe mode. Much slower, but I can avoid that blasted bug that way.

One thing it does is check for "cross-linked" files.

This is where the two or more files point to the same unit on the disk.



Beer - the love catalyst
good ol'' homepage

Share this post


Link to post
Share on other sites
This is one of my favourite features of w2k. You can run defrag and use the computer as much as you like without it restarting.

- seb

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!