Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2010 16:58:11 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-geom@freebsd.org
Subject:   kern.geom.confxml indentation bug
Message-ID:  <20100717165811.229ef87f@bsdbook.nessbank>

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



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