Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 07:01:28 +1000
From:      Greg Black <gjb-freebsd@gba.oz.au>
To:        freebsd-stable@FreeBSD.ORG
Cc:        gdsntusr@globaldelsys.com, Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
Subject:   Re: Does freeBSD or any related freeBSDs support file larger than 2GB on 32bit x86 platforms 
Message-ID:  <19990728210129.5795.qmail@alice.gba.oz.au>
In-Reply-To: <199907272205.AAA10989@dorifer.heim3.tu-clausthal.de>  of Wed, 28 Jul 1999 00:05:07 %2B0200
References:  <199907272205.AAA10989@dorifer.heim3.tu-clausthal.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme writes:

> olli@dao-lin-hay:/tmp> touch foobar
> olli@dao-lin-hay:/tmp> truncate `echo "2^43 - 1" | bc` foobar
> olli@dao-lin-hay:/tmp> ls -l foobar
> -rw-r--r--  1 olli  wheel  8796093022207 Jul 27 23:55 foobar
> olli@dao-lin-hay:/tmp>  
> 
> That's 8 Tbyte - 1.  Impressive, isn't it?  :)

Depends on your concept of impressive.  Look at this minor
variation:

    $ df .
    Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
    mfs:36          63503       14    58409     0%    /tmp
    $ touch foo
    $ truncate `echo "2^43 - 1" | bc` foo
    $ ls -ls foo
    32 -rw-rw----  1 gjb  wheel  8796093022207 Jul 29 06:49 foo
    $ df .
    Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
    mfs:36          63503       46    58377     0%    /tmp

I suppose you could claim that fitting a Terabyte+ size file
into a 64 Mbyte file system was impressive.  But since the file
really only uses 32 Kbytes (as shown by the ls(1) and df(1)
output), I'd call it a bit of a scam ...

-- 
Greg Black -- <gjb@acm.org>



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




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