Path: utzoo!attcan!uunet!cs.utexas.edu!csd4.csd.uwm.edu!mailrus!ncar!asuvax!hrc!force!covertr From: covertr@force.UUCP (Richard E. Covert) Newsgroups: comp.sys.atari.st Subject: Re: Archive bit Summary: Archive bit?? Message-ID: <4515f895.14a1f@force.UUCP> Date: 17 Aug 89 16:45:36 GMT References: <8908091359.AA08065@ucbvax.Berkeley.EDU> <1651@atari.UUCP> Organization: gte Lines: 24 In article <1651@atari.UUCP>, towns@atari.UUCP (John Townsend) writes: > > You have it backwards. In TOS 1.4, the bit is set when a file is created or > modified. The backup program should clear it after backing up the file. > > > -- John Townsend > Atari Corp. John, or Dan, I guess the first program every one writes is Yet Another Backup (YAB tm of CovertWares!!!). Anyway, I too am writing a very specific type of backup program. I had planned to use the READ/WRITE-READ/ONLY flag as a kind of backup flag. A un-backed up file would be RW but after I copy the file to floppy I would make it RO. That is because I was under the impression that TOS 1.0 and TOS 1.2 don't support a real backup bit. I have looked in my MWC manual (3.09) and there is no indiciation of a backup bit. Bit 5 (0x20) according to MWC in Fattrib() is "written and closed". I guess that could be used as a backup bit, but it isn't visible to the desktop. I normally use UIS2, and READ ONLY flags are shown with a check mark, so they become visible (at least with UIS2). That was the major reason why I was planning to use the READ/WRITE flag as a backup flag. Is there a better way?? richard (gtephx!covertr) covert