cvs commit: src/sys/sys stat.h src/sys/vfs/ufs ufs_vnops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jun 2 13:14:20 PDT 2008
dillon 2008/06/02 13:13:38 PDT
DragonFly src repository
Modified files:
sys/sys stat.h
sys/vfs/ufs ufs_vnops.c
Log:
Add the UF_NOHISTORY and SF_NOHISTORY chflags flags. The nohistory flag
allows you to mount a HAMMER filesystem normally and still specify that
certain files and directory not retain historical information.
If set on a directory the flag will be inherited by any objects
created within that directory.
Adjust UFS to inherit the NOHISTORY and NODUMP flags from the parent
directory when creating new objects. NODUMP used to be ufs-specific
and UFS's backup/restore remembered the inheritance. As a more generic
flag it needs to be inherited within the filesystem. Note that UFS
has no historical retention capability and ignores the NOHISTORY flag,
but we might use it with the journaling audit trail later.
Revision Changes Path
1.13 +4 -0 src/sys/sys/stat.h
1.64 +1 -0 src/sys/vfs/ufs/ufs_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/stat.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.63&r2=1.64&f=u
More information about the Commits
mailing list