Re: Fwd: Breaking up base (was: current state of the binup project)

Gerardo Enrique Paredes <[email protected]> Wed, 23 Oct 2002 03:52:16 -0700
Newsgroups gmane.os.freebsd.devel.binary-update
Message-ID <[email protected]>
On Wed, Oct 23, 2002 at 02:12:04AM -0600, Gerardo Enrique Paredes Mancia wrote:
> 
> 
> ----------  Forwarded Message  ----------
> 
> Subject: Breaking up base (was: current state of the binup project)
> Date: Tue, 22 Oct 2002 13:46:18 -0400
> From: The Anarcat <[email protected]>
> To: Murray Stokely <[email protected]>
> Cc: GERARDO ENRIQUE PAREDES MANCIA <[email protected]>, 
> [email protected]
> 
> On Sat Oct 19, 2002 at 10:54:17AM -0700, Murray Stokely wrote:
> [...]
> 
> > the same mechanism.  We were not interested in changing the package
> > format, because other groups (i.e. libh / openpackages) are more
> > focussed on that.  We were focussed on updates, delivery, and breaking
> > up the base system into discrete components.
> 
> Really? I've been dreaming about breaking up base for a long time
> now. Have binup started any work in this direction?
> 
> I have a "paper" I started writing that I've been thinking to send to
> -arch for a while now, should it be sent here instead?
>
Well, maybe i am wrong, but for doing a binary update everythin is almost laid, at least that's how i am trying to make it, this is the general approach i am gonna take:

- the client contact the server and ask to see if a profile is available, let the profile be FreeBSD-4.7-RELEASE then asks for  a certain "distribution", let' the distribtuion be doc.
- The client now request the doc.aa, doc.ab, doc.?? chunks from the server, the server get them from their location on disk and send them to the client using sendfile(2) as Murray suggested.

- Happilly the client get the chunks then checksum them and follow a silimar approach to install them (i.e: cat doc.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}) as the current sysintall binary update procedure does.

As i said before, correct me if i am wrong but this an "It Works" way of doing it
, but i may be wrong about this is the way the project wants to do it. Please correct me if i am wrong and expect patches by the next week.

Gerardo



> 
> -------------------------------------------------------
> 

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-binup" in the body of the message