kern.geom.confxml indentation bug

Bruce Cran bruce at cran.org.uk
Sat Jul 17 16:15:53 UTC 2010


Hi,

I noticed that the wrong level of indentation is used when printing
kern.geom.confxml if there's an empty config block:

  <class id="0xffffffff806a6440">
    <name>DISK</name>
    <geom id="0xffffff00051bd200">
      <class ref="0xffffffff806a6440"/>
      <name>da0</name>
      <rank>1</rank>
      <config>
      </config>
        <provider id="0xffffff00051bd100">
          <geom ref="0xffffff00051bd200"/>
          <mode>r0w0e0</mode>
          <name>da0</name>
          <mediasize>2063597056</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <fwheads>255</fwheads>
            <fwsectors>63</fwsectors>
          </config>
        </provider>
    </geom>

The "<provider id="0xffffff00051bd100">" line gets indented as if it's
within the config block.

-- 
Bruce Cran


More information about the freebsd-geom mailing list