[BACK]Return to nbsysstat.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / othersrc / fsu_compat

File: [cvs.NetBSD.org] / othersrc / fsu_compat / nbsysstat.h (download)

Revision 1.1, Thu Nov 5 14:39:16 2009 UTC (12 years, 2 months ago) by stacktic
Branch: MAIN
CVS Tags: HEAD

Add support for FreeBSD and Linux

#ifndef UF_SETTABLE
#define	UF_SETTABLE	0x0000ffff	/* mask of owner changeable flags */
#define	UF_NODUMP	0x00000001	/* do not dump file */
#define	UF_IMMUTABLE	0x00000002	/* file may not be changed */
#define	UF_APPEND	0x00000004	/* writes to file may only append */
#define UF_OPAQUE	0x00000008	/* directory is opaque wrt. union */
#define	SF_SETTABLE	0xffff0000	/* mask of superuser changeable flags */
#define	SF_ARCHIVED	0x00010000	/* file is archived */
#define	SF_IMMUTABLE	0x00020000	/* file may not be changed */
#define	SF_APPEND	0x00040000	/* writes to file may only append */
#define	SF_SNAPSHOT	0x00200000	/* snapshot inode */
#define	SF_LOG		0x00400000	/* WAPBL log file inode */
#endif