home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12307 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.6 KB  |  55 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!spool.mu.edu!torn!csd.unb.ca!pc386-8.info.umoncton.ca!markus
  3. From: markus@clement.info.umoncton.ca (PAULIN MARC)
  4. Subject: Re: Unerase - how does it wor
  5. Message-ID: <markus.409.727646157@clement.info.umoncton.ca>
  6. Sender: news@jupiter.sun.csd.unb.ca
  7. Organization: Universite de Moncton
  8. References: <703.331.uupcb@filebank.cts.com> <00966C45.D8B54520@Msu.oscs.montana.edu> <rol-190193093304@90.222.1.80>
  9. Date: Thu, 21 Jan 1993 19:55:57 GMT
  10. Lines: 43
  11.  
  12. In article <rol-190193093304@90.222.1.80> rol@grasp1.univ-lyon1.fr (Paul Rolland) writes:
  13. >From: rol@grasp1.univ-lyon1.fr (Paul Rolland)
  14. >Subject: Re: Unerase - how does it wor
  15. >Date: 19 Jan 93 08:31:55 GMT
  16.  
  17. >The key, at this point, is to do supposition... Imagine that your disk is
  18. >not fragmented. THen, your file TOTO is stored in contiguous clusters, and
  19. >you have :
  20. >'correct'
  21. >---------
  22. >FAT:   Entry number:     Content of this entry
  23. >             3                      4
  24. >             4                      5
  25. >             5                    0xfff
  26.  
  27. >When it is cleared, you have :
  28. >FAT:   Entry number:     Content of this entry
  29. >             3                      0
  30. >             4                      0
  31. >             5                      0
  32. >So, if you undelete a file, you check the FAT to see if you have enough
  33. >CONTIGUOUS free clusters starting at the first one allocated to the file,
  34. >and you allocate them to the file you are restoring, rewriting the FAT so
  35. >that it is like the one marked 'correct'.
  36.  
  37.  
  38.     Ok.  And what if you have more contiguous space than the actual file 
  39. size?  UNERASE will bring back a file larger than its original size?  If so, 
  40. unfragmenting can cause UNERASING problems too.
  41.                                          ____
  42.               _  _  _                  / \   \ 
  43.             /' )' )' )                |   |   |           
  44.               /  /  /                 | (_|__/         \   
  45.              /     /  __. .__    ___  |   |  __.  . .   \  .   ___ 
  46.             /     (__(_/|__) )__/(__   \_/__(_/|__)\_)__/\__)__) <_ 
  47.                     Markus on QuartzPARADISE and AfterFive
  48.                             (506)855-4974 - Canada
  49. +---------------------------------------------+-----------------------------+
  50. |            markus@info.umoncton.ca          | "My son, ask for thyself    |
  51. | For Talk:  markus@clement.info.umoncton.ca  |  another kingdom.  For that |
  52. |---------------------------------------------+  which I leave is too small |
  53. | When all else fails,  read the instructions |  for thee" - King Philippe  |
  54. +---------------------------------------------+-----------------------------+
  55.