From owner-freebsd-hackers Sat Jul 6 16: 2:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D707C37B400 for ; Sat, 6 Jul 2002 16:02:14 -0700 (PDT) Received: from goose.mail.pas.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7522143E42 for ; Sat, 6 Jul 2002 16:02:14 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0570.cvx21-bradley.dialup.earthlink.net ([209.179.194.60] helo=mindspring.com) by goose.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17QyZ5-0001ZK-00; Sat, 06 Jul 2002 16:02:07 -0700 Message-ID: <3D2776BE.A39A1110@mindspring.com> Date: Sat, 06 Jul 2002 16:01:18 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Darren Pilgrim Cc: ticso@cicely.de, freebsd-hackers@FreeBSD.ORG Subject: Re: How does swap work address spacewise? References: <20020705113532.GA11273@atrbg11.informatik.tu-muenchen.de> <20020705133515.GA295@HAL9000.wox.org> <20020705133837.GA513@HAL9000.wox.org> <20020705234126.GA12183@atrbg11.informatik.tu-muenchen.de> <3D2640A7.3EA2236B@pantherdragon.org> <20020706020656.GL48977@cicely5.cicely.de> <3D2762FE.9D9E0378@pantherdragon.org> <20020706220720.GG23704@cicely5.cicely.de> <3D277274.B5F3CE58@pantherdragon.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Darren Pilgrim wrote: > > > I thought the limit for filesystems was 2TB? > > > > The Blocknumber is signed that gives: > > 2^31 * 512Bytes > > Why sign the blocknumber? LBA uses an unsigned 32-bit integer, > allowing 2TB, and IIRC SCSI uses an unsigned integer as well (though I > can't remember if that one is 32 or 48 bits, or if they've gotten to > 64 bits by now). To differentiate between direct (positive) and indirect (negative) blocks within the inode, and within an indirect block. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message