cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c src/sys/gnu/fs/ext2fs ext2_vfsops.c src/sys/kern vfs_mount.c

John Baldwin jhb at FreeBSD.org
Wed Aug 15 10:40:10 PDT 2007


jhb         2007-08-15 17:40:09 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       msdosfs_vfsops.c 
    sys/gnu/fs/ext2fs    ext2_vfsops.c 
    sys/kern             vfs_mount.c 
  Log:
  On 6.x this works:
  
  % mount | grep home
  /dev/ad4s1e on /home (ufs, local, noatime, soft-updates)
  % mount -u -o atime /home
  % mount | grep home
  /dev/ad4s1e on /home (ufs, local, soft-updates)
  
  Restore this behavior for on 7.x for the following mount options:
  noatime, noclusterr, noclusterw, noexec, nosuid, nosymfollow
  
  In addition, on 7.x, the following are equivalent:
  mount -u -o atime /home
  mount -u -o nonoatime /home
  
  Ideally, when we introduce new mount options, we should avoid
  options starting with "no". :)
  
  Requested by:   jhb
  Reported by:    Karol Kwiat <karol.kwiat gmail com>, Scott Hetzel <swhetzel gmail com>
  Approved by:    re (bmah)
  Proxy commit for:       rodrigc
  
  Revision  Changes    Path
  1.174     +1 -1      src/sys/fs/msdosfs/msdosfs_vfsops.c
  1.165     +2 -2      src/sys/gnu/fs/ext2fs/ext2_vfsops.c
  1.264     +56 -11    src/sys/kern/vfs_mount.c


More information about the cvs-src mailing list