Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2005 04:19:36 +0000 (UTC)
From:      Peter Grehan <grehan@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/isofs/cd9660 cd9660_vfsops.c
Message-ID:  <200508140419.j7E4Ja2X004508@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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