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