cvs commit: src/sys/gnu/fs/ext2fs ext2_vfsops.c src/sys/ufs/ffs ffs_vfsops.c

John Baldwin jhb at FreeBSD.org
Wed Mar 26 13:48:08 PDT 2008


jhb         2008-03-26 20:48:08 UTC

  FreeBSD src repository

  Modified files:
    sys/gnu/fs/ext2fs    ext2_vfsops.c 
    sys/ufs/ffs          ffs_vfsops.c 
  Log:
  Fix a nit with the 'nofoo' options where 'foo' is mapped to 'nonofoo'
  (such as 'atime' vs 'noatime').  The filesystems will always see either
  'nofoo' or 'nonofoo', never plain 'foo'.  As such, their list of valid
  mount options should include 'nofoo' instead of 'foo'.  With this fix,
  you can do 'mount -u -o atime' on a FFS filesystem that isn't marked as
  noatime without getting an error.  You can also update a noatime FFS
  filesystem mounted via mount(2) (e.g. 6.x /sbin/mount binary) to 'atime'
  using nmount(2) (e.g. 7.x /sbin/mount binary).
  
  MFC after:      1 week
  Reviewed by:    crodig
  
  Revision  Changes    Path
  1.171     +1 -1      src/sys/gnu/fs/ext2fs/ext2_vfsops.c
  1.340     +3 -3      src/sys/ufs/ffs/ffs_vfsops.c


More information about the cvs-src mailing list