X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7807B.A551C3B7@onstor-exch02.onstor.net>; Mon, 16 Apr 2007 16:04:54 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: cmd_upgrade.c in my home dir
Date: Mon, 16 Apr 2007 16:04:54 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E02215737@onstor-exch02.onstor.net>
In-Reply-To: <20070416150006.6507cd1e@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: cmd_upgrade.c in my home dir
Thread-Index: AceAcpeu0FL9reKoR8KffUyIt99hUQACHuRg
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

I checked it out, just have one question. Shouldn't the check below be
done in the context of version 3.X.X upgrades?

        /*
         * upgrading to old CF layout from now on is not allowed
         */
        if ((layout_x & _TO_DYN) =3D=3D 0) {
            my_print("You are attempting to upgrade the software "
                "on an old flash layout.\n");
            my_print("This is prohibited.  Please update layout of
Compact "
                "Flash card with\n");
            my_print("the `system copy init' command first or consult "
                "Customer Service\n");
            my_print("Command aborted\n");
            return CMD_ERR_ABORTED;
      =20
Where this code sits it will be run for every version. I think Tim was
saying we don't want this to abort if this is an upgrade for something
prior to a Delorean release.

L.

-----Original Message-----
From: Andy Sharp=20
Sent: Monday, April 16, 2007 3:00 PM
To: Larry Scheer
Subject: cmd_upgrade.c in my home dir

~andys/src/FB-DELOREAN/nfx-tree/code/ssc-nfxsh/cmd_upgrade.c

I believe I've fixed this up to cover the conditions we talked about.
It was a lot easier than I thought.  Let me know what you think.

Cheers,

a

