bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sector file format (was: Re: Testing framework)


From: Patrick Leslie Polzer
Subject: Re: Sector file format (was: Re: Testing framework)
Date: Tue, 15 Nov 2005 07:47:00 +0100

On Tue, 15 Nov 2005 03:12:02 +0100
Håkon Løvdal <Håkon Løvdal <address@hidden>> wrote:

> A tar file consisting of several single sector files could be used,
> but I think it should be an absolute requirement that the end user
> only has one single, self contained file as output from/input to
> parted. Anything else is just begging for trouble I think :)
Yes. Does anyone know about the availability of libtar?

> * It hooks into the file operation functions in libparted/device.c.
>   For "record" mode data will be saved to the "data" file after the
> real read is done, and for "replay" data will be read from the "data"
> file instead of doing a real read.

> * Writing is not considered.
I think this should be implemented for easy working with the gathered
data.

> * For simplicity I use environmental variables to pass
>   arguments to filespy.
Are you planning to do in this way in the final version, too?

> * I use a nice and simple (external) library called sl for storing a
> list with the meta information, but it is very simple to install.
Can't we use our own list implementation (or put 'sl' into our
distribution)? That seems to be an unnecessary dependency to me.


An additional idea: can't we just use the PedArchitecture interface
to encapsulate all this? It seems to have all we need...

Regards,

Leslie

-- 
PGP-KID: 0x52D70289

Attachment: pgpeuInZW6cb8.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]