From owner-freebsd-current@FreeBSD.ORG Mon Aug 21 05:12:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B74F216A4DD; Mon, 21 Aug 2006 05:12:40 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6167C43D79; Mon, 21 Aug 2006 05:12:21 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k7L5C7s6037188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Aug 2006 14:42:09 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Roman Kurakin Date: Mon, 21 Aug 2006 14:41:36 +0930 User-Agent: KMail/1.9.3 References: <44E77EF7.6070004@ngo.org.uk> <200608201922.26864.doconnor@gsoft.com.au> <44E83900.4020108@inse.ru> In-Reply-To: <44E83900.4020108@inse.ru> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6570041.IzQmpX71Z9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608211442.04551.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: Doug Barton , current@freebsd.org, Nik Clayton , freebsd-current@freebsd.org Subject: Re: Avoiding bad sectors? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 05:12:40 -0000 --nextPart6570041.IzQmpX71Z9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 20 August 2006 19:57, Roman Kurakin wrote: > >Heh, well not necessarily although I personally would be shopping.. > > > >If the disk gets a dud sector and can't read it it won't remap it until > > you write to it. (I've seen this happen and someone else posted about it > > too) =20 > 1) So why not just dd seek=3Dxx count=3D1 to it to perform a write? > 2) Before some one would read it, some one should write to it... > Have I missed smth? 1) It's just swap, it's less thinking to nuke the whole partition 2) The command dd's from /dev/zero to the disk. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart6570041.IzQmpX71Z9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBE6UCk5ZPcIHs/zowRApM3AJ4hO82/OzuoPGkNfrF4UEWzR6F45gCfZy9+ pf0Vue45SlKbDUJPgcaZI4Q= =h7Cg -----END PGP SIGNATURE----- --nextPart6570041.IzQmpX71Z9--