Re: [LINUX:8633] max dosya buyuklugu

---------

New Message Reply About this list Date view Thread view Subject view Author view

Subject: Re: [LINUX:8633] max dosya buyuklugu
From: Yavuz Selim Komur (komur@Bilkent.EDU.TR)
Date: Fri 03 Sep 1999 - 15:45:41 EET DST


On Fri, 3 Sep 1999, SERTKAYA BARIS wrote:

>
>
> Merhaba,
>
> Uzunca bir sure once listede maksimum dosya uzunlugu sorulmus ve
> hatirladigim kadari ile 2GB civarinda olacagi soylenmisti.
> Ayrica /usr/src/linux//fs/ext2/CHANGES dosyasinda soyle bir satir var:
> - Check that no data can be written to a file past the 2GB limit.
>
> Ben de 2GB gibi bir sinir oldugunu duymustum, dun aksam oturup hesapladim
> ve 16GB olabilecegi cikti, nerede hata yapiyorum?

dd if=/dev/zero of=deneme bs=102400k count=50
dd: deneme: File too large
21+0 records in
20+0 records out

ls -l deneme
-rw-r--r-- 1 root root 2147483647 Sep 3 15:48 deneme

v2.2.12

>
> bir blok 1024 byte
> bir pointer 4 byte
> bir inode'da:
> -------------
> 12 tane direct blok var : 12x1024 = 12KB
> indirect blok 1024/4 blok adresliyor: 1024/4 x 1024= 256KB
> double indirect blok : 1024/4 x 1024/4 x 1024 = 64MB
> triple indirect blok : 1024/4 x 1024/4 x 1024/4 1024= 16GB
> ---------
> ~16GB+64MB
>
> sevgi,saygi,
> baris.
>
> Listeden cikmak icin:
> unsub linux
> mesajini listeci@bilkent.edu.tr'a gonderiniz.
> Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
> Liste arsivinin adresi: http://listweb.bilkent.edu.tr/
>
>

Yavuz.
---------------------------
The FORCE will be with you.
http://www.theforce.net

 
 Listeden cikmak icin:
          unsub linux
 mesajini listeci@bilkent.edu.tr'a gonderiniz.
   Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
  Liste arsivinin adresi: http://listweb.bilkent.edu.tr/


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b25 tarafindan uretilmistir.