home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.ibm.pc.hardware
- Path: sparky!uunet!dcatlas!joet
- From: joet@dcatlas.dot.gov (Joe Trott)
- Subject: Re: Cache questions
- Message-ID: <1992Sep11.193140.4784@dcatlas.dot.gov>
- Organization: U.S Dept. of Transportation
- References: <1992Sep7.193149.23396@newstand.syr.edu>
- Date: Fri, 11 Sep 1992 19:31:40 GMT
- Lines: 25
-
- ldstern@rodan.acs.syr.edu (Larry Stern) writes:
-
- >2 questions about caches, please: first, is it really necessary
- >to flush the cache (or wait several seconds) before turning
- >off the computer?
-
- Yes! If you don't, data that has been written to the cache but not yet to
- disk will be lost. It is possible to corrupt whole files (not just lose
- individual recods) this way. Maybe worse, if the FAT needs to be updated.
-
- >... And second, why does the cache have to be disabled
- >before defragmenting the hard disk?
-
- A lot of defragging software directly accesses the disk at the sector
- level. Disk caches may hide this information. May. What they will
- _certainly_ do is prevent the safety features in most defragging programs
- from working. Supposedly, if a good defragger is interrupted (even by
- power failure), there will be no data loss. With a disk cache, however,
- it is likely that the FAT will be left describing a layout that is only
- incidentally related to the actual layout of your disk. This is because
- the software is _always_ busy, and caches typically write in idle time
- (unless they are full). This means you could have a[n almost] full cache of
- unwritten data (including FAT changes!) that could be lost.
-
- -JTT
-