Date: Tue, 27 Nov 2012 16:07:12 +0000 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: freebsd-questions@freebsd.org Subject: Re: How to create a partition for FreeBSD 9.0? Message-ID: <201211271607.12478.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <1354029352.2827.12.camel@q> References: <1353795280.2662.12.camel@q> <1354029192.2827.11.camel@q> <1354029352.2827.12.camel@q>
next in thread | previous in thread | raw e-mail | index | archive | help
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 # <CTRL+D> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211271607.12478.jmc-freebsd2>