Date: Fri, 3 Mar 2006 00:24:42 +0000 (GMT) From: Robert Watson <rwatson@FreeBSD.org> To: Mark Day <mday@apple.com> Cc: freebsd-fs@FreeBSD.org Subject: Re: Add a file flag for "hidden" files? Message-ID: <20060303002342.E54458@fledge.watson.org> In-Reply-To: <3FBE453B-D462-45D9-937F-5EDEBB67FF76@apple.com> References: <DBD69E00-A9CB-45BA-8398-2A662D18D781@apple.com> <20060301182001.W40707@fledge.watson.org> <3FBE453B-D462-45D9-937F-5EDEBB67FF76@apple.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060303002342.E54458>