From: Ravi on
hi all.
i need to know how exactly the scan disk works ...., coz i
want to write code in C or any other language ...., which performs the
function of scan disk ...., pls let me know the steps involved to test
HDD ...,pls guide me in this regard ....
ravi.

From: Peter on
> hi all.
> i need to know how exactly the scan disk works ...., coz i
> want to write code in C or any other language ...., which performs the
> function of scan disk ...., pls let me know the steps involved to test
> HDD ...,pls guide me in this regard ....
> ravi.

Duplicate post.


From: "Joep" <j o e p @ d i y d a t a r e c o v e r y . n on
"Ravi" <nopodige(a)gmail.com> wrote in message
news:1141460941.686593.288170(a)t39g2000cwt.googlegroups.com...
> hi all.
> i need to know how exactly the scan disk works ...., coz i
> want to write code in C or any other language ...., which performs the
> function of scan disk ...., pls let me know the steps involved to test
> HDD ...,pls guide me in this regard ....
> ravi.
>

You'd better study the file system(s) you want to check/fix. Once you grasp
that it will become obvious what it is that scandisk does. For FAT32 you can
study the MS public FAT32 specification. For NTFS study the Linux NTFS
documentation project. You know how Google works, right?

--
Joep