home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4598 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  893 b 

  1. Path: mail2news.demon.co.uk!harden.demon.co.uk
  2. From: Mark Harden <mark@harden.demon.co.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Disk Space Left
  5. Date: Fri, 1 Mar 96 19:03:47 GMT
  6. Organization: Private Node
  7. Message-ID: <9603011903.AA001o8@harden.demon.co.uk>
  8. References: <DnL5B6.62u.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
  9. X-NNTP-Posting-Host: harden.demon.co.uk
  10. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  11. X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!harden.demon.co.uk
  12.  
  13. Christopher Carr (cdc@dcs.ed.ac.uk) wrote:
  14. :     How do you correctly calculate the available disk space
  15. : left on any single device. I am referring to the the fact that some
  16. : small files take a minimun block size.
  17.  
  18. Use the bitmap.  Count the bits.  Each is a 512 block chunk.
  19.  
  20. Note that if you have 1M free you are unlikely to be able to store 1M simply
  21. because of file headers and extension blocks...
  22.