cvs commit: src/usr.sbin/sysinstall installUpgrade.c
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Jun 6 09:31:12 UTC 2007
In message <20070606092836.GL1834 at submonkey.net>, Ceri Davies writes:
>
>--enLffk0M6cffIOOh
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>On Wed, Jun 06, 2007 at 06:56:42PM +0930, Daniel O'Connor wrote:
>> On Wednesday 06 June 2007 17:10, Ceri Davies wrote:
>> > > Right answer: Why not read it from sysctl kern.geom.confxml
>> >
>> > That sounds like the right thing to do, but that sysctl returns
>> > nothing on my RELENG_6 system; why would that be?
>>=20
>> Also, parsing it could be problematic :(
>> (XML isn't in sysinstall's limited repertoire)
Please look at how gstat uses a convenient library function to
do just that...
>Well there is kern.geom.conftxt :)
Please don't That is only a crutch for the old crufty libdisk.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the cvs-src
mailing list