Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2007 11:36:00 +0200
From:      "Daniel Eriksson" <daniel_k_eriksson@telia.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Why is 'disklabel'ng a new drive so difficult?
Message-ID:  <4F9C9299A10AE74E89EA580D14AA10A6028741@royal64.emp.zapto.org>
In-Reply-To: <20070330150808.GA59175@gizmo.acns.msu.edu>
References:  <C0012B02FE5D8BE2EC25FE05@ganymede.hub.org><20070328204126.GA27217@xor.obsecurity.org><460C389B.7060703@mawer.org><20070329232207.GA56299@gizmo.acns.msu.edu><460C5214.4020402@mawer.org> <20070330150808.GA59175@gizmo.acns.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

I've started using GPT for everything but the system disk.

To add a GPT table to a new disk and create a partition in that table
that spans the entire disk, all you need to do is this:

# gpt create /dev/adX
# gpt add /dev/adX
# newfs -O2 -U /dev/adXp1

Done!

/Daniel Eriksson



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