From owner-freebsd-current@FreeBSD.ORG Tue Apr 29 22:17:31 2003 Return-Path: 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 981D737B401 for ; Tue, 29 Apr 2003 22:17:31 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A15C143F3F for ; Tue, 29 Apr 2003 22:17:30 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h3U5HTs4005087; Wed, 30 Apr 2003 07:17:29 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Heiko Schaefer From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 30 Apr 2003 00:05:36 +0200." <20030430000202.I23260@daneel.foundation.hs> Date: Wed, 30 Apr 2003 07:17:29 +0200 Message-ID: <5086.1051679849@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: gbde init -i issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 30 Apr 2003 05:17:31 -0000 In message <20030430000202.I23260@daneel.foundation.hs>, Heiko Schaefer writes: >Hallo again, > >i have one more (very weird) problem with gbde (the tool, this time). >doing "gbde init /dev/foo -i" works for one of two partitions that i want >to use with gbde, but not the other. > >after writing the template and quitting vi, i get >"gbde: write sector 0: Operation not permitted" > >...what could be causing this? You might be trying to overwrite the BSD disklabel. If it is a BSD disklabel or SUN label, change it so it starts at least 16 sectors into the disk. -- 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.