cvs commit: src/sys/isofs/cd9660 cd9660_vfsops.c

Peter Grehan grehan at FreeBSD.org
Sun Aug 14 04:19:37 GMT 2005


grehan      2005-08-14 04:19:36 UTC

  FreeBSD src repository

  Modified files:
    sys/isofs/cd9660     cd9660_vfsops.c 
  Log:
  - restore the ability to mount cd9660 filesystems as root by inverting
    some of the options test, specifically the joliet and rockridge tests.
    Since the root mount callchain doesn't go through cd9660_cmount, the
    default mount options aren't set. Rather than having the main codepath
    assume the options are there, test for the absence of the inverted
    optioin
  
    e.g. instead of vfs_flagopt(.. "joliet" ..), test for
    !vfs_flagopt(.. "nojoliet" ..)
  
    This works for root mount, non-root mount and future nmount cases.
  
  - in cd9660_cmount, remove inadvertent setting of "gens" when "extatt"
    was set.
  
  Reported by:    grehan, Dario Freni <saturnero at freesbie org>
  Tested by:      Dario Freni
  Not objected to by:     phk
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.141     +6 -7      src/sys/isofs/cd9660/cd9660_vfsops.c


More information about the cvs-all mailing list