Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 18:08:21 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libdisk disk.c
Message-ID:  <20021018150821.GH30849@hades.hell.gr>
In-Reply-To: <Pine.NEB.3.96L.1021012182247.44458E-100000@fledge.watson.org>
References:  <20021012222137.GA95508@xor.obsecurity.org> <Pine.NEB.3.96L.1021012182247.44458E-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-12 18:23, Robert Watson <rwatson@FreeBSD.ORG> wrote:
> On Sat, 12 Oct 2002, Kris Kennaway wrote:
> > (gdb) print disklist
> > $1 = 0x80d6130 "ad0", '' <repeats 197 times>...
> >
> > (the character between the '' is ascii 0xd0, the character malloc
> > debugging uses with the 'J' flag).
> >
> > I don't know why other people hadnt seen this.
>
> Perhaps in NO_GEOM, kern.disks has a NUL termination, and in GEOM it
> doesn't?  Are you running with GEOM?

Could very well be true.  That would explain why I stumbled upon the
mdconfig -l bug that I fixed in my last commit there, right after
enabling GEOM.  I don't remember having any problems with mdconfig
before turning on GEOM.  The fix was similar there... and it also
depended on kern.disks data.

Giorgos.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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