X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C89906.7FD259F0@onstor-exch02.onstor.net>; Mon, 7 Apr 2008 16:24:17 -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: please review 28660 - should be a quickie
Date: Mon, 7 Apr 2008 16:24:17 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C9536@onstor-exch02.onstor.net>
In-Reply-To: <20080407155033.5f07e017@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: please review 28660 - should be a quickie
Thread-Index: AciZAclas2KaZU+pRP6lLC6uVn40vAAAwJHQ
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Lines 165 through 173 make no sense. On a cheetah ssc-mgmt.bin is
located in $1/ssc-mgmt.bin not in Images. There is no ssc-mgmt.bin
anywhere for bobcat.

So I think you meant to write:

if [ `echo /*bc.bin | wc -c` =3D 3] ; then
 # if on a bobcat, don't install cheetah distro
 if [ $1/ssc-mgmt.bin ] ; then
    return 1
 fi
# must be on a cheetah ?
elif [ ! -e $1/ssc-mgmt.bin ] ; then
    return 1
fi=20

-----Original Message-----
From: Andy Sharp=20
Sent: Monday, April 07, 2008 3:51 PM
To: Larry Scheer
Subject: Re: please review 28660 - should be a quickie

Alright, added some code, but since I don't have a cheetah, I don't
know if it's right.  So please re-review.


On Fri, 4 Apr 2008 19:54:56 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> nfx-tree/Tools/flash_install.sh
>=20
>      This will prevent a cheetah or bobcat build from being installed
>      on a cougar.  But it won't stop a cheetah release from being
>      installed on a bobcat. Which is fine if that was all you wanted
> to at this time
>=20
>      If you want to go one step further a cheetah has this file:
>      /ssc-mgmt.bin and bobcats do not. You could test for the
> existence of ssc-mgmt.bin if you know you are running on a cheetah or
>      a bobcat.
>=20
> -----Original Message-----
> From: Andy Sharp=20
> Sent: Thursday, April 03, 2008 2:36 PM
> To: Larry Scheer
> Subject: please review 28660 - should be a quickie
>=20
> A quickie, hopefully:
>=20
> Change 28660 by andys@ripper on 2008/04/03 14:34:48 *pending*
>=20
>         Bolster sanity check that should prevent installing BSD onto a
>         Linux based system, and vice-versa.
>        =20
>         reviewed by
>=20
> Affected files ...
>=20
> ... //depot/dev/nfx-tree/Tools/flash_install.sh#11 edit
>=20
