Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2000 16:07:01 -0700 (PDT)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_inode.c ffs_snapshot.c src/sys/ufs/ufs ufs_lookup.c ufs_vnops.c src/sys/vm vm_mmap.c
Message-ID:  <200007262307.QAA93463@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    2000/07/26 16:07:01 PDT

  Modified files:
    sys/ufs/ffs          ffs_inode.c ffs_snapshot.c 
    sys/ufs/ufs          ufs_lookup.c ufs_vnops.c 
    sys/vm               vm_mmap.c 
  Log:
  Clean up the snapshot code so that it no longer depends on the use of
  the SF_IMMUTABLE flag to prevent writing. Instead put in explicit
  checking for the SF_SNAPSHOT flag in the appropriate places. With
  this change, it is now possible to rename and link to snapshot files.
  It is also possible to set or clear any of the owner, group, or
  other read bits on the file, though none of the write or execute
  bits can be set. There is also an explicit test to prevent the
  setting or clearing of the SF_SNAPSHOT flag via chflags() or
  fchflags(). Note also that the modify time cannot be changed as
  it needs to accurately reflect the time that the snapshot was taken.
  
  Submitted by:	Robert Watson <rwatson@FreeBSD.org>
  
  Revision  Changes    Path
  1.64      +4 -1      src/sys/ufs/ffs/ffs_inode.c
  1.4       +7 -9      src/sys/ufs/ffs/ffs_snapshot.c
  1.38      +15 -1     src/sys/ufs/ufs/ufs_lookup.c
  1.141     +15 -5     src/sys/ufs/ufs/ufs_vnops.c
  1.115     +2 -2      src/sys/vm/vm_mmap.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007262307.QAA93463>