From owner-freebsd-questions@FreeBSD.ORG Tue Nov 27 16:07:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 905B3FE3 for ; Tue, 27 Nov 2012 16:07:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id D62E88FC0C for ; Tue, 27 Nov 2012 16:07:22 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id Ug7D1k00C516WCc01g7Egn; Tue, 27 Nov 2012 16:07:14 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=CJiorGXD c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=XvniJfuo7x4A:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=D7rCoLxHAAAA:8 a=4trChRdTb4MA:10 a=YbxkutK9RwyiMZ5pJNQA:9 a=wPNLvfGTeEIA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.80.1) (envelope-from ) id 1TdNgn-0005Ls-5V for freebsd-questions@freebsd.org; Tue, 27 Nov 2012 16:07:13 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 27 Nov 2012 16:07:12 +0000 User-Agent: KMail/1.9.10 References: <1353795280.2662.12.camel@q> <1354029192.2827.11.camel@q> <1354029352.2827.12.camel@q> In-Reply-To: <1354029352.2827.12.camel@q> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201211271607.12478.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.2 Subject: Re: How to create a partition for FreeBSD 9.0? Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 16:07:23 -0000 On Tuesday 27 November 2012 15:15:52 Ralf Mardorf wrote: > > And could I then run something similar to > > > > # echo "gpart show ada0s1" >> /path/to/usbstick/logfile > > # gpart show ada0s1 >> /path/to/usbstick/logfile > > # echo "gpart add -t freebsd -i1 ada0" >> /path/to/usbstick/logfile > > # echo gpart add -t freebsd -i1 ada0 >> /path/to/usbstick/logfile > =A0 =A0^^^^ oops, but I guess you know what I mean > > > etc.? > > > > I would like to post the output to the list. The neater way # script /path/to/usbstick/logfile # gpart show ada0 # gpart add -t freebsd -i1 ada0 # gpart show ada0 # Then /path/to/usbstick/logfile will contain a full log of your commands and= =20 output showing the partition information for ada0 before and after creating= =20 the new partition. =2D-=20 Mike Clarke