lkml.org 
[lkml]   [2006]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2009-11-18 23:46    [W:3.302 / U:0.204 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site