Hello to all,

I m a beginner in the Linux platform. Since last two years,i was
working on Embedded C,C++ on the keil compiler, on the 89C51RD2. I have

also worked on the WinCE 5.0 Platform Builder with EVC++.
According to my new project, i would like to write the diagnostic
application for the PC type device (32 bit processor) i.e i have to
test the functionality of each and every hardware like CPU,HDD,Serial
Ports,RAID,etc.The client has given the procedure to carry out each
test.
As per the requirement the procedure to test HDD should be


# Check HDD


1. Validates the hard-disk device by writing a pattern onto an unused
sector and compares with the expected pattern.


2. Checks all the sectors (HDD surface test) and report bad sectors.


3. Retains the original sector contents.


Can anyone please help me to start the application.


Please guide me...


Thanks and Regards,
Nutty.