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,513 of 15,439   
   Jo Even Skarstein to Djordje Vukovic   
   Re: On summing "bytes used" when showin   
   14 Jul 08 20:02:58   
   
   From: joska@nvg.ntnu.no   
      
   Djordje Vukovic  wrote:   
      
   > But the problem appared in the first place because, with increasing   
   > partition sizes, it becomes difficult to give a sum of filelengths.   
   > When a folder (or a partition) content is more than 4 GB one would   
   > have to resort to the extravaganza of 48-bit (or 64-bit?) arithmetics.   
   > When doing calculation based on cluster count the problem would   
   > be deferred at least to capacities of several TB.   
      
   You can sum the numbers of full clusters used in one 32 bit integer, and   
   the remainder in another 32 bit integer. Unless you have an awful amount   
   of very small (i.e. smaller than the size of a cluster) files this should   
   work with very large collections of files.   
      
   --   
      
   /*   
   ** Jo Even Skarstein   http://joska.nvg.org/   
   */   
      
   --- 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