On Tue, 15 Nov 2005 03:12:02 +0100 Håkon Løvdal <Håkon Løvdal <[EMAIL PROTECTED]>> 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
pgpU7BmaQGmnu.pgp
Description: PGP signature
_______________________________________________ Bug-parted mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-parted
