Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2015 12:15:35 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: dd question
Message-ID:  <alpine.BSF.2.20.1509281212410.97426@wonkity.com>
In-Reply-To: <5608BDB4.6060200@hiwaay.net>
References:  <5606A4FF.4090105@hiwaay.net> <CA%2BtpaK3UOEfKSfSjbdcH%2BR2jaU9=XVBEg%2B%2Bjn5VCbiiUkLF_Tg@mail.gmail.com> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <alpine.BSF.2.20.1509270540450.40168@wonkity.com> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <alpine.BSF.2.20.1509271857480.36906@wonkity.com> <5608BDB4.6060200@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dev>' & 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1509281212410.97426>