From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750727AbWDUWq7 (ORCPT ); Fri, 21 Apr 2006 18:46:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750722AbWDUWq7 (ORCPT ); Fri, 21 Apr 2006 18:46:59 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:35782 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S1750706AbWDUWq6 (ORCPT ); Fri, 21 Apr 2006 18:46:58 -0400 Message-ID: <444960CC.2000009@pobox.com> Date: Fri, 21 Apr 2006 18:46:36 -0400 From: Jeff Garzik User-Agent: Thunderbird 1.5 (X11/20060313) MIME-Version: 1.0 To: Linus Torvalds CC: Justin Piszcz , Mark Lord , David Greaves , Tejun Heo , linux-kernel@vger.kernel.org, IDE/ATA development list , albertcc@tw.ibm.com, axboe@suse.de, smartmontools-support@lists.sourceforge.net Subject: Re: LibPATA code issues / 2.6.16 (previously, 2.6.15.x) References: <43F2050B.8020006@dgreaves.com> <200602141300.37118.lkml@rtr.ca> <440040B4.8030808@dgreaves.com> <440083B4.3030307@rtr.ca> <4400A1BF.7020109@rtr.ca> <4400B439.8050202@dgreaves.com> <4401122A.3010908@rtr.ca> <44017B4B.3030900@dgreaves.com> <4401B560.40702@rtr.ca> <4403704E.4090109@rtr.ca> <4403A84C.6010804@gmail.com> <4403CEA9.4080603@rtr.ca> <44042863.2050703@dgreaves.com> <44046CE6.60803@rtr.ca> <44046D86.7050809@pobox.com> <4405DCAF.6030500@dgreaves.com> <4405DDEA.7020309@rtr.ca> <4405E42B.9040804@dgreaves.com> <4405E83D.9000906@rtr.ca> <4405EC94.2030202@dgreaves.com> <4405FAAE.3080705@dgreaves.com> <440B6CFE.4010503@rtr.ca> <440B76B4.5080502@pobox.com> <44493023.4010109@pobox.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.9 (---) X-Spam-Report: SpamAssassin version 3.1.1 on srv5.dvmed.net summary: Content analysis details: (-3.9 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > > 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. Agreed, though the original poster had already done a 400GB dd from /dev/zero... Jeff