diff options
author | grehan <grehan@FreeBSD.org> | 2005-08-14 04:19:36 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2005-08-14 04:19:36 +0000 |
commit | ba88fd3c57f9a076314a2ecd02b79ee6d3ef656f (patch) | |
tree | 4bbc73ccdac27752f56003f4432e80d86896f9e2 /bin | |
parent | 40bd0121f595d5f830cee989fc05bda78f421829 (diff) | |
download | FreeBSD-src-ba88fd3c57f9a076314a2ecd02b79ee6d3ef656f.zip FreeBSD-src-ba88fd3c57f9a076314a2ecd02b79ee6d3ef656f.tar.gz |
- 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
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions