Add a file flag for "hidden" files?
Robert Watson
rwatson at FreeBSD.org
Thu Mar 2 16:20:09 PST 2006
On Thu, 2 Mar 2006, Mark Day wrote:
>> You can find current flag allocation here:
>>
>> http://fxr.watson.org/fxr/source/sys/stat.h
>
> The obvious (to me) choice for UF_HIDDEN would be 0x00000040 (leaving
> 0x00000020 unused as the user flag corresponding to SF_SNAPSHOT). But would
> anyone object to using 0x00008000 (the most significant bit of the user
> flags)?
I see no reason not to do this -- I also checked in NetBSD and OpenBSD source,
and neither has allocated any additional flags (NetBSD has picked up the
snapshot flag from FreeBSD, but OpenBSD has not).
Robert N M Watson
More information about the freebsd-fs
mailing list