Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2001 17:59:54 -0400
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        freebsd-libh@FreeBSD.ORG
Subject:   Re: write_changes implementation
Message-ID:  <20010924175953.A47859@shall.anarcat.dyndns.org>
In-Reply-To: <20010924231618.A2098@zerogravity.kawo2.rwth-aachen.d>
References:  <20010923232359.C17003@shall.anarcat.dyndns.org> <20010924150012.C962@zerogravity.kawo2.rwth-aachen.d> <20010924120107.A46295@shall.anarcat.dyndns.org> <20010924183508.A4175@zerogravity.kawo2.rwth-aachen.d> <20010924134740.A46796@shall.anarcat.dyndns.org> <20010924231618.A2098@zerogravity.kawo2.rwth-aachen.d>

next in thread | previous in thread | raw e-mail | index | archive | help

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon Sep 24, 2001 at 11:16:18PM +0200, Alexander Langer wrote:
> Thus spake The Anarcat (anarcat@anarcat.dyndns.org):
>=20
> > > > I think libh is designed to make full use of libdisk, so if libdisk
> > > > works (which I assume it does), the patches work, and we don't real=
ly
> > > > need to test the "write" in itself"..
> > > ARGH :-)=20
> > What do you mean? I thought libdisk was tested and packaged. It's not
> > working properly?
>=20
> libdisk works, but I don't know if libh's wrapper library works :)
> (I'm quite sure it does, though)

Oh, I think it does. I mean, the function is about 3 line long, right?
:)

I guess we could put an "assert" in there, to make sure we think
Write_Disk returns what we think it does.

> > disklabel's internals (apart from time to time editions with disklabel
> > -e), so I rely again on libdisk. Is that proper? Should I make further
> > tests on libdisk? I would need an extra disk (duh). Not so handy.. I
> > guess I could dig out an old 300Mb drive somewhere. ;)
>=20
> That's how I do it (I have an old 500 MB drive :)
> You probably won't rely on libdisk, but on libhdisk.

Yeah, that's what I meant. It will test libhdisk "wrapping" at the same
time...

> See lib/disk/Disk.cd.cc for the API :-)=20

Yep, saw it. Quite neat.

> I believe it's working.
> (You can also use the old disk.tcl for examples)

Cool.

A.

--2oS5YaxWCcQjTEyO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: Pour information voir http://www.gnupg.org

iEYEARECAAYFAjuvrNkACgkQttcWHAnWiGe+pQCfV2paHrxevgXzMDttFeIy+7ls
oKkAn0qDDgXwmC9VbiOTkRi4EUx5uFHU
=Qy3h
-----END PGP SIGNATURE-----

--2oS5YaxWCcQjTEyO--

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




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