From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 16:53:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 588841065755 for ; Tue, 19 Aug 2008 16:53:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id EA79E8FC55 for ; Tue, 19 Aug 2008 16:53:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m7JGrPX9029253; Tue, 19 Aug 2008 18:53:25 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id C32BABA8C; Tue, 19 Aug 2008 18:53:24 +0200 (CEST) Date: Tue, 19 Aug 2008 18:53:24 +0200 From: Roland Smith To: Polytropon Message-ID: <20080819165324.GA45352@slackbox.xs4all.nl> References: <20080819183109.5afce9f1.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <20080819183109.5afce9f1.freebsd@edvax.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-questions@freebsd.org" Subject: Re: Formatting a harddisk with defective sectors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 16:53:33 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 19, 2008 at 06:31:09PM +0200, Polytropon wrote: > Hi! >=20 > I have an 8 GB harddisk that I want to use in a Intel P1 / 150 MHz > with 128 MB EDO-RAM system. Yes, that's for real. This harddisk has > one defective sector which causes the installation that's already on > this disk to complain about not being able to clean the /home partition > via fsck. >=20 > My question: Is there a way to exclude the defective sectors from being > accessible at the time the disk is completely initialized for a new > install (slices, partitions, format, tunefs)? Goal: As long as the > defective sectors won't multiply, if nobody ever touches them, the > disk should run fine. See badsect(8). Use between mkfs and install (hint: switch to "holographic shell"). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiq+oQACgkQEnfvsMMhpyXdlQCgphOdbg7vE19H8TuwHoU/bng8 imMAn05RLrR2CG5KcjZONQEJC8//+Cui =HRss -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--