Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 09:05:41 +0100
From:      phk@FreeBSD.org
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        dillon@apollo.backplane.com, julian@elischer.org, nate@root.org, julian@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 dump_machdep.c 
Message-ID:  <15358.1040112341@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Dec 2002 21:24:01 MST." <20021216.212401.38686246.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20021216.212401.38686246.imp@bsdimp.com>, "M. Warner Losh" writes:
>In message: <200212170108.gBH18V4r082434@apollo.backplane.com>
>            Matthew Dillon <dillon@apollo.backplane.com> writes:
>:     Isn't it using off_t there?  64 bit offsets?
>
>daddr_t you mean?  off_t is for file offsets, not for disklabel
>sizes...

GEOM operates on byte offsets in order to be able to accomodate non 2^n
sector sizes (CD's for instance).

Rather than hardcode the size as uint64_t, and rather than introduce
yet a bloody typedef, I chose to use off_t for the offsets.

-- 
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 cvs-all" in the body of the message




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