home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / misc / 41592 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
  3. From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
  4. Subject: Re: Zero-length files
  5. Message-ID: <1993Jan8.052918.7329@monu6.cc.monash.edu.au>
  6. Originator: parry@yoyo.cc.monash.edu.au
  7. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  8. Organization: Monash University, Melb., Australia.
  9. References: <930107180028@rgam.sc.ti.com>
  10. Date: Fri, 8 Jan 1993 05:29:18 GMT
  11. Lines: 19
  12.  
  13. Robert Gammon (5692330@mcimail.com) wrote:
  14. > In article <1ierslINNriq@usenet.INS.CWRU.Edu> al919@cleveland.Freenet.Edu (Bruce Halco) writes:
  15.  
  16.  
  17. > Ahh, but this is not what the original poster was seeking.  Yes, this
  18. > creates a file with a listed size of 0 bytes, BUT, a minimum allocation
  19. > unit is still used (512 bytes, a single sector with HPFS, more with FAT).
  20. > Our PC file systems insist on allocating at least one allocation unit to
  21. > every file (not an unreasonable assumption since most of us have little or
  22. > no need for such capability).
  23.  
  24. Bzzzt: In FAT at least, a zero length file has no clusters/allocation units
  25. assigned to it. If you look at the directory with something like Norton's
  26. you'll find a 0 entry (If I remember correctly) in the first cluster
  27. entry.
  28.  
  29. -- 
  30. Tom J Parry.
  31. Your reality is a figment of my imagination.
  32.