Date: Sat, 25 Jul 1998 12:35:11 -0700 (PDT) From: Greg Shenaut <greg@bogslab.ucdavis.edu> To: questions@FreeBSD.ORG Subject: ad-hoc chflags flags Message-ID: <199807251935.MAA22274@bogslab.ucdavis.edu>
next in thread | raw e-mail | index | archive | help
I want to mark certain files with a one-bit mark, but without disturbing the contents of the files, their directory entries, or requiring an external index of the files. It seems to me that the UF_XXX flags would be ideal for this purpose, but I am hesitant to coerce one of the existing flags. I notice from sys/stat.h that 11 of the bits in the user part of the flag word are officially unused--is there some conventional way to grab one of them for this purpose? For example, by consulting a list of purposes for which others have done this (maybe someone else used one for a purpose similar to mine). -Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807251935.MAA22274>