niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Statement of architectural direction: disklabel64 / GPT.
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
Author Message
Robert Watson
*nix forums Guru Wannabe


Joined: 22 Mar 2002
Posts: 218

PostPosted: Tue Jun 11, 2002 10:08 pm    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

Sounds like a good idea to me. Imagine, everyone using the same partition
scheme -- there must be some snag :-)

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Network Associates Laboratories

On Mon, 10 Jun 2002, Poul-Henning Kamp wrote:

Quote:

The issue of 32->64 bit migration of struct disklabel has come up
now that daddr_t is 64 bit wide.

I have pondered the issue and researched what material I could find
and come to the conclusion that we should not make a 64bit version
of struct disklabel, but instead use the industry standard GPT format.

A 64bit BSD style disklabel would in best case be a {Free,Net,Open}BSD
thing, worst case just a FreeBSD thing. Either way I will argue
that it would be a private format.

Unless it can provide functionality otherwise not possible there
is no point in adding a new private format.

The GPT handles 16k partitions, 64 bit addressing, has decently
checksummed and redundant meta-data and space for per partition
meta-data.

I can't think of anything else we might need, so I have decided
not to make a 64bit disklabel format and instead use the GPT format.

This may result in us using the GPT format in ways not anticipated
by the standard (ie: embedded in a native partition on some odd-ball
platform) but that should not give any more or less trouble than
embedding a disklabel64 there.

We will need to support GPT for at least ia64 anyway, and I predict
that it will sneak into ia32 RSN as well, so this is actually less
work for us than doing a disklabel64.

Any objections ?

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
John Baldwin
*nix forums Guru Wannabe


Joined: 27 Mar 2002
Posts: 278

PostPosted: Tue Jun 11, 2002 8:37 am    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

On 10-Jun-2002 David Greenman-Lawrence wrote:
Quote:
We will need to support GPT for at least ia64 anyway, and I predict
that it will sneak into ia32 RSN as well, so this is actually less
work for us than doing a disklabel64.

Any objections ?

No objections from me, but what does "GPT" stand for?

It's a 3-bit error away from Global Positioning System.

--

John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Poul-Henning Kamp
*nix forums Guru


Joined: 21 Mar 2002
Posts: 436

PostPosted: Tue Jun 11, 2002 3:00 am    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

In message <Pine.LNX.4.44.0206101635150.28471-100000@smtp.gnf.org>, Gordon Tetl
ow writes:
Quote:
On Mon, 10 Jun 2002, Poul-Henning Kamp wrote:

The GPT handles 16k partitions, 64 bit addressing, has decently
checksummed and redundant meta-data and space for per partition
meta-data.

So it has a place to stash data suitable for GEOM mirror partitions and
other "special" things that need to keep some meta-data about their
operations?

I generally belive that such meta-data should be in the partition so
people don't get surprised that
dd if=/dev/da0p1 of=/dev/da1p7 bs=1m
doesn't do what they want.

So while the answer to your question technically is "yes", I belive
we shouldn't use that space unless we have a very good reason.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Marcel Moolenaar
*nix forums Guru Wannabe


Joined: 03 Apr 2002
Posts: 120

PostPosted: Tue Jun 11, 2002 2:47 am    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

On Mon, Jun 10, 2002 at 04:36:15PM -0700, Gordon Tetlow wrote:
Quote:
On Mon, 10 Jun 2002, Poul-Henning Kamp wrote:

The GPT handles 16k partitions, 64 bit addressing, has decently
checksummed and redundant meta-data and space for per partition
meta-data.

So it has a place to stash data suitable for GEOM mirror partitions and
other "special" things that need to keep some meta-data about their
operations?

You have a virtually unlimited supply of partition types. If there's
a lot of meta-data to store, you can define a partition type and
create a partition for it. The minimum partition size is a sector.

--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Marcel Moolenaar
*nix forums Guru Wannabe


Joined: 03 Apr 2002
Posts: 120

PostPosted: Tue Jun 11, 2002 2:43 am    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

On Mon, Jun 10, 2002 at 08:28:10PM +0200, Poul-Henning Kamp wrote:
[snip]
Quote:
I have pondered the issue and researched what material I could find
and come to the conclusion that we should not make a 64bit version
of struct disklabel, but instead use the industry standard GPT format.
[snip]
Any objections ?

None here.

--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Gordon Tetlow
*nix forums beginner


Joined: 31 May 2002
Posts: 42

PostPosted: Mon Jun 10, 2002 11:36 pm    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

On Mon, 10 Jun 2002, Poul-Henning Kamp wrote:

Quote:
The GPT handles 16k partitions, 64 bit addressing, has decently
checksummed and redundant meta-data and space for per partition
meta-data.

So it has a place to stash data suitable for GEOM mirror partitions and
other "special" things that need to keep some meta-data about their
operations?

-gordon


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Poul-Henning Kamp
*nix forums Guru


Joined: 21 Mar 2002
Posts: 436

PostPosted: Mon Jun 10, 2002 5:34 pm    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

In message <20020610120956.L53004@nexus.root.com>, David Greenman-Lawrence writ
es:
Quote:
We will need to support GPT for at least ia64 anyway, and I predict
that it will sneak into ia32 RSN as well, so this is actually less
work for us than doing a disklabel64.

Any objections ?

No objections from me, but what does "GPT" stand for?

GUID Partition Table.

See around section 16.2 here:

http://developer.intel.com/technology/efi/EFISpec_v102.pdf

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
David Greenman-Lawrence
*nix forums beginner


Joined: 10 Jun 2002
Posts: 1

PostPosted: Mon Jun 10, 2002 5:09 pm    Post subject: Re: Statement of architectural direction: disklabel64 / GPT. Reply with quote

Quote:
We will need to support GPT for at least ia64 anyway, and I predict
that it will sneak into ia32 RSN as well, so this is actually less
work for us than doing a disklabel64.

Any objections ?

No objections from me, but what does "GPT" stand for?

-DG

D.G.Lawrence
Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500
TeraSolutions, Inc. - http://www.terasolutions.com - (503) 288 9544
The FreeBSD Project - http://www.freebsd.org
Pave the road of life with opportunities.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Poul-Henning Kamp
*nix forums Guru


Joined: 21 Mar 2002
Posts: 436

PostPosted: Mon Jun 10, 2002 4:28 pm    Post subject: Statement of architectural direction: disklabel64 / GPT. Reply with quote

The issue of 32->64 bit migration of struct disklabel has come up
now that daddr_t is 64 bit wide.

I have pondered the issue and researched what material I could find
and come to the conclusion that we should not make a 64bit version
of struct disklabel, but instead use the industry standard GPT format.

A 64bit BSD style disklabel would in best case be a {Free,Net,Open}BSD
thing, worst case just a FreeBSD thing. Either way I will argue
that it would be a private format.

Unless it can provide functionality otherwise not possible there
is no point in adding a new private format.

The GPT handles 16k partitions, 64 bit addressing, has decently
checksummed and redundant meta-data and space for per partition
meta-data.

I can't think of anything else we might need, so I have decided
not to make a 64bit disklabel format and instead use the GPT format.

This may result in us using the GPT format in ways not anticipated
by the standard (ie: embedded in a native partition on some odd-ball
platform) but that should not give any more or less trouble than
embedding a disklabel64 there.

We will need to support GPT for at least ia64 anyway, and I predict
that it will sneak into ia32 RSN as well, so this is actually less
work for us than doing a disklabel64.

Any objections ?

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 6:16 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Select statement Shamna Sybase 0 Mon Sep 17, 2007 6:03 am
No new posts ECPG (usage of simple select statement) Jasbinder Bali PostgreSQL 0 Fri Jul 21, 2006 3:28 am
No new posts tremendous upturn on pink sheets, overwhelmingly importan... Larry Hurd devel 0 Mon Jul 17, 2006 4:50 pm
No new posts Help for a SQL Query statement: group by roberto IBM DB2 3 Mon Jul 17, 2006 12:43 pm
No new posts what's wrong with my code? about the #if statement. Python.LeoJay@gmail.com C 7 Mon Jul 17, 2006 8:14 am

Fantasy | Live mortgage rates | PunBB forum hosting | Mortgage | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3618s ][ Queries: 20 (0.0938s) ][ GZIP on - Debug on ]