From owner-freebsd-hackers Sat Jan 25 16:34:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA28958 for hackers-outgoing; Sat, 25 Jan 1997 16:34:06 -0800 (PST) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA28943 for ; Sat, 25 Jan 1997 16:34:03 -0800 (PST) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA14857; Sun, 26 Jan 97 01:37:07 +0100 Date: Sun, 26 Jan 97 01:37:07 +0100 Message-Id: <9701260037.AA14857@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@freebsd.org In-Reply-To: Subject: Re: fdisk headache X-Mailer: Emacs Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> J Wunsch writes: > As Jean-Marc Zucconi wrote: >> I try to add another disk, but it seems that something has changed >> since my last drive installation because fdisk doesnt want to write a >> correct information. > Why are you using fdisk at all? You are running Unix, you aren't > running on a PC, you are not supposed to use fdisk (unless other > systems on your disk force you to this step). > :-) I thought that this step was mandatory :-) > . wipe out your junked fdisk table: dd if=/dev/zero of=/dev/rsd4 count=10 > . give the entire disk to FreeBSD: disklabel -Brw sd4 auto > . edit the partitions as you need: disklabel -e sd4 Simple - easy - and it works! You can add a 4th point to your recipe: . rm /sbin/fdisk So I can gain 57344 bytes on my drive :-) Thanks, Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr =============================================================================