home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.atari.st      Discussion about 16 bit Atari micros      15,439 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,497 of 15,439   
   Guillaume Tello to All   
   Re: On summing "bytes used" when showing   
   06 Jul 08 23:51:09   
   
   From: houten.van@wanadoo.fr   
      
       I wrote long ago an article about this problem in the french ST   
   Magazine.   
       I used the following formula:   
      
       (bytes used) + (number of files)*(cluster size)/2 + (number of   
   folders)*(cluster size)   
      
       Estimating that the mean error on each file can be cluster/2. This gives   
   a good approximation of the real used size.   
      
       For example, to copy 200 files and 15 folders with a total of 1.000.000   
   bytes on a partition with cluster size = 4Kb:   
      
       1.000.000 + 200*4096/2 + 15*4096 = 1.471.040 bytes.   
      
       But that's not exact!   
      
       The article can be found at:   
   http://pagesperso-orange.fr/gtello/downld_f.htm   
      
       In the first list, download the file named FICHIERS (13Kb), but the   
   article is in french...!   
      
       Guillaume.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca