Messages in this thread | | | Date | Fri, 21 Apr 2006 12:28:57 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: LibPATA code issues / 2.6.16 (previously, 2.6.15.x) |
| |
On Fri, 21 Apr 2006, Jeff Garzik wrote: > > You can force the disk to replace the bad sectors by doing a disk-level write: > > dd if=/dev/zero of=/dev/sda1 bs=4k
NOTE! Obviously don't do this before you've backed up the disk. Depending on the filesystem, you might just have overwritten something important, or just your pr0n collection ;)
Jeff, please be a little more careful about telling people commands like that. Some people might cut-and-paste the command without realizing what it's doing as a way to "fix" their problem.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |