From owner-freebsd-questions Tue Apr 9 17:08:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA01425 for questions-outgoing; Tue, 9 Apr 1996 17:08:04 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA01381 for ; Tue, 9 Apr 1996 17:07:59 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id KAA17722; Wed, 10 Apr 1996 10:04:08 +0930 From: Michael Smith Message-Id: <199604100034.KAA17722@genesis.atrad.adelaide.edu.au> Subject: Re: hard reading error To: richardc@CSUA.Berkeley.EDU (Richard Chang) Date: Wed, 10 Apr 1996 10:04:08 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, joerg_wunsch@uriah.heep.sax.de, questions@freebsd.org In-Reply-To: from "Richard Chang" at Apr 9, 96 03:20:00 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Richard Chang stands accused of saying: > > > > # cd /foo > > # mkdir BAD > > # badsect BAD 1006499 > > Tried this but it said cannot attach 1006499 so any ideas? Yeah, check the manpage. : DIAGNOSTICS Badsect refuses to attach a block that resides in a critical area or is out of range of the file system. A warning is issued if the block is al- ready in use. ie. you have the equivalent of a bad sector in your FAT (to use DOS lingo). In the error messages you posted earlier, you also have the block number within the slice. You'll have to repartition inside the slice to avoid that block, which means a backup and reinstall if it's something important like /usr. > Richard -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[