unbent@ecsvax.UUCP (Jay F. Rosenberg) (11/09/86)
I just performed a full hard disk (10 MB) backup using MS-DOS BACKUP command (BACKUP C:\ A:/S) on my Compaq Plus. Before doing the backup, CHKDSK told me that my directory structure was in order. After doing the backup, CHKDSK told me that I had an allocation error in one small file in a subdirectory; adjusted the size; then told me that I had one lost cluster in 1 chain and that that file was now cross linked to another in a different subdirectory on cluster 512 (in both files). Well, I tidied all that up, but what I want to know is: How and why did it happen? I would have thought that making a backup involved only *reading* directories, not fiddling with them, so how did things get changed? Also, are my backup disks likely to be in order? How can I tell? (I'm not about to reformat C: and restore just to find out!) Thanks in advance for any help. JAY ROSENBERG Dept. of Philosophy UNC Chapel Hill, NC 27514 ========================================================================= ...{decvax,akgua}!mcnc!ecsvax!unbent unbent@ecsvax.UUCP ...tucc!tuccvm!ecsvax!unbent unbent@ecsvax.BITNET =========================================================================
ballou@brahms (Kenneth R. Ballou) (11/11/86)
In article <2233@ecsvax.UUCP> unbent@ecsvax.UUCP (Jay F. Rosenberg) writes: > >... I would have thought that making a backup involved only >*reading* directories, not fiddling with them, so how did things get >changed? One of the attribute bits associated with a file is the 'archive' bit. It is set when a file is created or modified. Its purpose is to indicate to BACKUP any files changed since the last backup. Hence, BACKUP clears this bit as it churns (all right, crawls) along; this indeed involves writing in directories (indirectly, using some DOS function). -------- Kenneth R. Ballou ...!ucbvax!brahms!ballou Dept. of Mathematics ballou@brahms.berkeley.EDU University of California Berkeley, California 94720