From owner-freebsd-fs Tue Jan 28 15:12:35 2003 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7792837B401 for ; Tue, 28 Jan 2003 15:12:34 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9333B43F43 for ; Tue, 28 Jan 2003 15:12:33 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h0SNCQZE000900; Wed, 29 Jan 2003 00:12:32 +0100 (CET) (envelope-from phk@freebsd.org) To: Russell Cattelan Cc: fs@freebsd.org Subject: Re: restricted blocks? From: phk@freebsd.org In-Reply-To: Your message of "28 Jan 2003 14:09:30 CST." <1043784569.20928.58.camel@naboo.americas.sgi.com> Date: Wed, 29 Jan 2003 00:12:26 +0100 Message-ID: <899.1043795546@critter.freebsd.dk> Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <1043784569.20928.58.camel@naboo.americas.sgi.com>, Russell Cattelan writes: >Does anybody have quick answer as to why block 1 isn't writable? In all likelyhood your 'd' partition starts at offset zero and therefore the second sector contains the disklabel which the kernel will not allow you to overwrite. Use disklabel -e to change to size of the 'd' partiton down by 16, and set the offset to 16 and you should have no trouble. Poul-Henning -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message