[cvsnt-dev] Does anyone use 'Archive' bit on files any more?

Mark Roddy markr at hollistech.com
Sat Apr 24 12:16:06 BST 2004

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

There is actually an interface for reading/writing "extended attribute" data
on files that is supported by both FAT32 and NTFS, although the win32 API is
not present, so you would have to dive into the actual NT api (NtQueryEaFile
and NtSetEaFile.) These apis allow you to have named attribute data
associated with a file, which would be exactly what you want here. Of course
using undocumented interfaces has issues.

Mark Roddy
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
markr at hollistech.com

"Tony Hoyle" <tmh at nodomain.org> wrote in message
news:c6chc5$69s$1 at paris.nodomain.org...
> Tharen D. Debold wrote:
> > NTBackup still uses the archive bit for increment & differential
> > backups, it also clears the archive bit on a full backup.
> >
> > Since this is what we use to backup our CVS files, I'm not to keen on
> > having to do full backups just to get all the CVS files.
> >
> > If it's NTFS, you can use another stream... :-)
> I'll just have to make the code smarter then..  Storing it there is really
> nice for making sure there's no loss of data from unix clients (at least
> it's finally written in the RCS file), but it's tricky to know what's
> temporary and what's a final file where we don't care (and can set the bit
> the time).
> Tony
> -- 
> Tony Hoyle <tmh at nodomain.org>  Key ID: 104D/4F4B6917 2003-09-13
> Fingerprint: 063C AFB4 3026 F724 0AA2  02B8 E547 470E 4F4B 6917

More information about the cvsnt-dev mailing list