From owner-freebsd-arch@FreeBSD.ORG Mon Jun 26 12:56:42 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F47916A401; Mon, 26 Jun 2006 12:56:42 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A4614491E; Mon, 26 Jun 2006 12:56:29 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 45544170C5; Mon, 26 Jun 2006 12:56:13 +0000 (UTC) To: Dmitry Pryanishnikov From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 26 Jun 2006 15:50:46 +0300." <20060626154144.D47547@atlantis.atlantis.dp.ua> Date: Mon, 26 Jun 2006 12:56:10 +0000 Message-ID: <46654.1151326570@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: John-Mark Gurney , Pawel Jakub Dawidek , freebsd-arch@freebsd.org Subject: Re: Accessing disks via their serial numbers. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 12:56:42 -0000 In message <20060626154144.D47547@atlantis.atlantis.dp.ua>, Dmitry Pryanishniko v writes: > I'm repeating my recent post to -current, just for the record... Actually, >there IS the way to tell whether the last sector is in use on UFS, and >reserve it from futher use by FS. It's badsect(8). Just declare the last >sector as bad, [...] The problem with this approach is that if the user does a newfs and restore, the information is not preserved. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.