LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: advice needed from kernel programmers for LVS patch

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: advice needed from kernel programmers for LVS patch
From: Vinnie <listacct1@xxxxxxxxxx>
Date: Thu, 19 Jun 2003 00:18:00 -0400
Jacob Coby wrote:

It is a bit old, but it should at least point you in the right direction.

specifically, look into proc_register and the procfile_read(char *buffer,
char *buffer_location, off_t offset, int buffer_length, int zero) callback.
You basically just want a static char *antefacto_ident (which is set to
"antefacto-2.4.19-1.0.7" at compile time) and set *buffer_location=ident in
the callback, returning strlen(ident).

You'll want to work with the antefacto patch applied, and generate another
patch from the antefacto-patched source.  That way, hopefully, you should be
able to apply antefacto and then antefacto-ident (or whatever you call it)
in order to the vanilla kernel without issues.

-Jacob

Thanks Jacob!

This will probably get me started pretty well!

Vince ("vinnie")

<Prev in Thread] Current Thread [Next in Thread>