From owner-freebsd-current Wed Aug 23 23:46:18 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id XAA20533 for current-outgoing; Wed, 23 Aug 1995 23:46:18 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id XAA20271 for ; Wed, 23 Aug 1995 23:45:04 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA03034; Thu, 24 Aug 1995 08:43:16 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA03668; Thu, 24 Aug 1995 08:43:15 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id IAA21971; Thu, 24 Aug 1995 08:32:44 +0200 From: J Wunsch Message-Id: <199508240632.IAA21971@uriah.heep.sax.de> Subject: Re: How to add another disk (or slice/partitions/disklabels - confusion) To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Thu, 24 Aug 1995 08:32:44 +0200 (MET DST) Cc: sysseh@devetir.qld.gov.au Reply-To: freebsd-current@FreeBSD.org (FreeBSD-current users) In-Reply-To: from "Jacques Caron" at Aug 24, 95 04:24:10 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 935 Sender: current-owner@FreeBSD.org Precedence: bulk As Jacques Caron wrote: > > >I'm using disklabel -r -e /dev/rsd1, it pulls up something reasonable,... > Write to /dev/rsd1sx where x is the fdisk partition you use. Always use the disklabel command with a simple disk name (`sd1'), and let it up to the command to figure out which device node to use. Btw., for drives that are dedicated to FreeBSD, the `old way' works quite well: don't care for the fdisk entries, setup an entry in /etc/disktab (start the partition at sector 0), and finally: disklabel -r -w sd1 mydiskname disklabel -B sd1 (The latter is needed to supress the ``Invalid partition table: no magic'' warning.) libdisk (that is used by sysinstall) should learn how to do this, too, so people with dedicated drives wouldn't have to undergo that damn DOS geometry hell. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)