[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian max file size is 1GB instead of 2GB?



On 24 Jan, Steve Hsieh <sryan@emmy.dartmouth.edu> wrote:
> 
> It seems that on Debian, the maximum single file size on ext2fs is 1GB and
> not 2GB.  Can someone confirm this, and suggest how to fix the problem,
> if possible?

To which Stephen P. Ryan <sryan@emmy.dartmouth.edu> replied:
> 
> I no longer have the space to test this, but I did have a 2GB file in
> a 2.5GB partition on a Debian 1.3 system several months ago.  

Well, I've got a bunch of free space here.  Let's see:

  $ # Try to make a 1.5GB file.
  $ perl -le '$_=6x1023; print while ++$i<=1024*512*3' > big
  $ ls -l big 
  -rw-r--r--   1 kirk     kirk     1073741824 Jan 24 22:53 big
  $ echo "hello" >> big
  $ ls -l big 
  -rw-r--r--   1 kirk     kirk     1073741824 Jan 24 22:55 big
  $ wc big 
  1048576 1048576 1073741824 big

Exactly 1GB.  FWIW, this is a 486/33 running stock Debian 1.3 using
the kernel from a 1997-06-20 rescue disk.

Kirk Hilliard


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: