From owner-freebsd-questions@freebsd.org Mon Sep 28 18:15:43 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A6D2A0B1AD for ; Mon, 28 Sep 2015 18:15:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B9D41DD6 for ; Mon, 28 Sep 2015 18:15:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8SIFZcT098424 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Sep 2015 12:15:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8SIFZwJ098421; Mon, 28 Sep 2015 12:15:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 28 Sep 2015 12:15:35 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: dd question In-Reply-To: <5608BDB4.6060200@hiwaay.net> Message-ID: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <5608BDB4.6060200@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 28 Sep 2015 12:15:36 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 18:15:43 -0000 On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > On 09/27/15 20:07, Warren Block wrote: >> On Sun, 27 Sep 2015, William A. Mahaffey III wrote: >> >>> If I use disklabel to add a 'd' slice, will that mess up what is already >>> there ? What is the syntax for that, I don't see it in the >>> disklabel/bsdlabel man page ? The man page for disklabel/bsdlabel shows a >>> way to initialize a whole disk using 'fdisk -BI ' & implies that this >>> will create a 'da0s1' slice in the process. However it will also wipe out >>> what is already there. If I do that, can I then copy the img-file contents >>> in some way ? Thanks & TIA :-) .... >> >> Please stop using fdisk and bsdlabel. gpart(8) does everything they do and >> is easier to use. > I (think I) am using them because of the way the install image is put > together, & I am trying to work around a perceived issue. Again, gpart(8) does everything they do. By that, I mean that gpart(8) can create bsdlabel partitions and MBR slices in addition to GPT and other partitioning schemes. None of these programs will resize a filesystem already present on a partition. growfs(8) does that for UFS.