Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 12:03:48 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Knut A. Syed" <Knut.Syed@nhh.no>
Cc:        questions@FreeBSD.ORG
Subject:   Re: 2GB filesize limit?
Message-ID:  <20010531120348.E96927@xor.obsecurity.org>
In-Reply-To: <s3ielt5eo2u.fsf@kas.nhh.no>; from Knut.Syed@nhh.no on Thu, May 31, 2001 at 01:48:41PM %2B0200
References:  <200105310943.f4V9hgX04825@gilberto.physik.rwth-aachen.de> <20010531033048.A89957@xor.obsecurity.org> <20010531033616.A90245@xor.obsecurity.org> <s3ielt5eo2u.fsf@kas.nhh.no>

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

--9l24NVCWtSuIVIod
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 31, 2001 at 01:48:41PM +0200, Knut A. Syed wrote:
> Kris Kennaway <kris@obsecurity.org> writes:
>=20
> > A quick test with truncate(1) shows that you can create sparse files
> > up to 16TB in size.
>=20
> ???
>=20
> $ truncate -s 8191G /tmp/foo.test
> $ truncate -s 8192G /tmp/foo.test
> truncate: /tmp/foo.test: File too large
> $ uname -r
> 4.3-RELEASE
> $=20

xor# uname -a
FreeBSD xor.obsecurity.org 4.3-RC FreeBSD 4.3-RC #13: Sat Apr 14 00:11:45 P=
DT 2001     kkenn@xor.obsecurity.org:/mnt/src-4.x/sys/compile/MOLLARI  i386
xor# truncate -s 16383G big
xor# ls -l big
-rw-r--r--  1 root  wheel  17591112302592 May 31 12:02 big

(Okay, I meant (16TB - 1 byte) :-)

Kris

--9l24NVCWtSuIVIod
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7FpWTWry0BWjoQKURAuQLAJ9SaX2Q+h4yw4CjSfAQ2fG2ddVtcgCg0nPV
thV+hdfVdVFybY5M+k3w9eY=
=kLBb
-----END PGP SIGNATURE-----

--9l24NVCWtSuIVIod--

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?20010531120348.E96927>