Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 21:55:07 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        David Greenman <dg@root.com>
Cc:        Bernd Walter <ticso@cicely8.cicely.de>, John Reynolds~ <jreynold@sedona.ch.intel.com>, questions@FreeBSD.ORG, fs@FreeBSD.ORG
Subject:   Re: off_t governs the largest file size, correct? 
Message-ID:  <27327.1008363307@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 14 Dec 2001 12:22:24 PST." <20011214122224.E81485@nexus.root.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20011214122224.E81485@nexus.root.com>, David Greenman writes:
>>8k blocksize works up to 8TB on alpha-current:
>>ticso@cicely9# ls -al test
>>-rw-r--r--  1 root  wheel  8388609048576 Dec 14 20:50 test
>>
>>I have tried 9000000 MB which failed.
>>
>>But keep in mind that the maximum size of a single filesystem is still
>>1TB, which restricts you to use sparse files.
>
>   Actually, the largest device size that FreeBSD (at least x86) supports
>is 1TB. This is because daddr_t (the type used to specify physical disk
>block addresses) is a signed int, which is 31bits worth of 512 byte blocks.

This will be changed to 2^64 bytes as part of the DARPA contract I'm
working on.

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




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