I write a Java program to read a file that is on bad sector, when the program read bad sector, Linux kernel take very long time unsuccessfully reading. I wish use ramdon bits to replace data on bad sector when reading files. how to do it? Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com