[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gomd-devel] Re: Chpox: request
From: |
Eugen Meshcheryakov |
Subject: |
[gomd-devel] Re: Chpox: request |
Date: |
Tue, 09 Dec 2003 20:38:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; uk-UA; rv:1.5) Gecko/20031021 |
Hi all.
Gian Paolo Ghilardi wrote:
Hi Eugen
After a long time, I've just started working again on chpox support for the
gomd daemon. I've a (minimal) request for you.
I need to use chpox.magic file to test dumpfile integrity (following the
procedure you told me in the mail below) so: can you add the installation of
this file in a directory like /etc/chpox/ ?
I can fix make system in order to install chpox.magic into directory
$datadir/chpox which defaults to /usr/local/share/chpox. But this
directory is configurable by user and you will need point this directory
in config file.
Alternatively you can analyze file header in the daemon. I will not
change meaning of the following fields in future versions of chpox:
magic (string, offset 0, length 5)
major_version (byte, offset 5)
minor_version (byte, offset 6)
arch (byte, offset 7) (but other architectures will be supported)
corrupted (byte, offset 8)
Of course, I could do this job but I think this solution is not as elegant
as to add this installation directly in the Makefile.
Is this possible?
BTW, I thought to include the chpox.magic file directly in the daemon code
(as harcoded stuff) but this is not a valid solution as the daemon, IMHO,
must be fully version-independent.
Thanks.
Best regards,
Gian Paolo Ghilardi
<rejected>
Regards,
Eugeniy Meshcheryakov