AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080131132949.4926c4b6@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C932D@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 31 Jan 2008 13:30:18 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: stupid cmd_upgrade.c changes you've probably already done
Message-ID: <20080131133018.2f402667@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C932D@onstor-exch02.onstor.net>
References: <20080131122227.3ec722c6@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C932D@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Thu, 31 Jan 2008 13:07:36 -0800 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> I don't know how to get the file:/// syntax to work with wget.
> 
> g4r5:~# wget
> file:///homes/larrys/downloads/glibc-linuxthreads-20050523.tar.gz
> file:///homes/larrys/downloads/glibc-linuxthreads-20050523.tar.gz:
> Unsupported scheme.

You don't need any transport with a file URL ~:^)  It's just there.  So
you could say file:///homes/andys/R6.9.0blah.tar.gz and it would just
use the file there.  Whether it copies it to /tmp or whatever I don't
care that much, obviously it would be an optimization if it didn't, but
not an important one.

So, the upgrade methods that require transport would have that logic
inside that code block, but the logic that happens after the transport
should be outside that code block, if you get my meaning.  I would just
show you, but I don't completely grok all the variables and stuff that's
going on in that code.


> -----Original Message-----
> From: Andy Sharp 
> Sent: Thursday, January 31, 2008 12:22 PM
> To: Larry Scheer
> Subject: stupid cmd_upgrade.c changes you've probably already done
> 
> check out perforce cl#27547 for some changes to cmd_flash.c that i'd
> like to see in your checkin.  i'm not intending to check this is, just
> did it to make it easier to show you.  i'd like the logic of
> mount_patch() fixed so that other upgrade methods (specifically,
> file:///) can be used, so the code that does stuff if it's an ftp/http
> upgrade needs to be moved out of that if block.
