home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25012 < prev    next >
Encoding:
Text File  |  1992-07-20  |  1.8 KB  |  32 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!chx400!josef!ifi.unizh.ch!erzberg
  3. From: erzberg@ifi.unizh.ch (Martin Erzberger)
  4. Subject: Re: Lost Extended Attributes.
  5. Message-ID: <1992Jul21.061323.21627@ifi.unizh.ch>
  6. Sender: news@ifi.unizh.ch (USENET News Admin)
  7. Nntp-Posting-Host: gardhu
  8. Organization: University of Zurich, Department of Computer Science
  9. References: <199207201508.AA11238@tuna.wang.com> <1992Jul20.204331.1878@midway.uchicago.edu>
  10. Date: Tue, 21 Jul 1992 06:13:23 GMT
  11. Lines: 19
  12.  
  13. > It fragments
  14. > because of constant access and updating.  You need not defragment it,
  15. > however, because it is seldom accessed sequentially.  HPFS keeps
  16. > extended attributes in blocks with the file itself and, hence, does
  17. > not require this file.
  18. Nah, it fragments because the EA's are stored near the file to which they belong. They are
  19. linked via directory entries of the files (using some of the reserved attribute bits or so).
  20. The "file" EA DATA. SF is merely a directory entry (together with the FAT entries) to keep
  21. the places where the EA's are stored reserved, for all systems which know nothing about EA's
  22. (means, they cannot interpret the linking bits). This way the EA's will not be overwritten,
  23. because eg. DOS thinks, there is a "file". OS2/ never uses EA DATA. SF to access the
  24. extended attributes, as said, it uses the linking bits.
  25. Now if you defragment EA DATA. SF, the pointers in the directory don't point to the right
  26. place anymore. CHKDSK get's hold of this, because it compares the place EA DATA. SF claims
  27. with the places the pointers point to. A OS/2 FAT defragmenter would place the EA's probably
  28. at the beginning of the corresponding file, and update the pointers AND EA DATA. SF, so
  29. the link will not be lost. Of course, this will leave EA DATA. SF fragmented, for
  30. performance reasons.
  31. Regards, Martin
  32.