Re: LibPATA code issues / 2.6.16 (previously, 2.6.15.x)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux