Subject: Re: RFC: new mode bits in stat structure
To: None <tech-kern@NetBSD.ORG>
From: Ty Sarna <>
List: tech-kern
Date: 06/29/1998 18:20:42
In article <>,
Todd Vierling  <> wrote:
> I'll look into reversing this relationship in msdosfs to match the correct
> sense of the bit, because I may be making additions for pax that make use of

It looks like it gets this right:

>From msdosfs_vnops.c:342

	if ((dep->de_Attributes & ATTR_ARCHIVE) == 0)
		vap->va_flags |= SF_ARCHIVED;


- adosfs always sets the flags to 0, ignoring the "a" bit on files.

- Nothing in the kernel ever seems to clear the archived bits when a
  file is modified.  (I'm thinking this should probably be done at the
  same place(s) the mtime is set)