Well, lets see: [EMAIL PROTECTED]:~$ cat /dev/zero >xxx cat: write error: File too large [EMAIL PROTECTED]:~$ ls -l xxx -rw-r--r-- 1 kadamski users 2147482624 Jan 25 12:02 xxx [EMAIL PROTECTED]:~$ cat /proc/version Linux version 2.0.33 ([EMAIL PROTECTED]) (gcc version 2.7.2.1) #6 Sun Dec 28 23:08:15 EST 1997 [EMAIL PROTECTED]:~$ df . Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda2 3966376 2813561 947608 75% /
I remember doing this in 2.0.29 and getting only 1G for files, so something changed in the newer kernel. Krzysztof On 24 Jan 1998, Kirk Hilliard wrote: > On 24 Jan, Steve Hsieh <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .