NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: S_ARCH1 / S_ARCH2 / strmode(3)



Brad Spencer <brad%anduin.eldar.org@localhost> wrote:
> Jan Schaumann <jschauma%netmeister.org@localhost> writes:

> > Our ls(1) still supports (via strmode(3)) and
> > documents files of types
> >
> > #define _S_ARCH1  0200000               /* Archive state 1, ls -l shows 'a' */
> > #define _S_ARCH2  0400000               /* Archive state 2, ls -l shows 'A' */

> There is the concept of archive with the flags that a FFS file can have.
> See 'man chflags' for details.  However, I am not sure that this use of
> archive is what you have found.

Yeah, file _flags_ are different from the file _type_.

What I'm wondering is whether supporting this file
type is in fact something that's (still) useful.

The "archive bit"[1] sounds like something that might
be referred to here?

-Jan

[1] https://en.wikipedia.org/wiki/Archive_bit


Home | Main Index | Thread Index | Old Index