X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C853D3.7950D7BF@onstor-exch02.onstor.net>; Thu, 10 Jan 2008 14:55:11 -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: flash_install.sh errors
Date: Thu, 10 Jan 2008 14:55:11 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C92A3@onstor-exch02.onstor.net>
In-Reply-To: <20080110135238.1fbd58a8@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: flash_install.sh errors
Thread-Index: AchT0x0xqjAwtSfsTUuat7qOsLBALwAAA2zg
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Nuh-uh. What about this:

get_lin_root_disk() {
        foo=3D"`df / | grep /dev`"
        expr "$foo" \: ${DDEV_BASE}'\([ab]\)1'
}

When df / is:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root            209521144  76564740 122320024  39% /

-----Original Message-----
From: Andy Sharp=20
Sent: Thursday, January 10, 2008 1:53 PM
To: Larry Scheer
Subject: Re: flash_install.sh errors

Should work fine NFS root.

On Thu, 10 Jan 2008 13:50:49 -0800 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> I am. I think these error are because I am booted nfsroot.
>=20
> -----Original Message-----
> From: Andy Sharp=20
> Sent: Thursday, January 10, 2008 1:50 PM
> To: Larry Scheer
> Subject: Re: flash_install.sh errors
>=20
> Try using the latest version that's checked in, eh? ~:^)
>=20
> On Thu, 10 Jan 2008 13:47:51 -0800 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
>=20
> > Just getting started ...
> >=20
> > ./flash_install.sh: line 137: [: : integer expression expected
> > You are about to format the LOWER compact flash card.
> > You have 3 seconds to hit CTRL-C if this is not what you want.
> > expr: syntax error
> > ./flash_install.sh: line 328: [: : integer expression expected
> > expr: syntax error
> > ./flash_install.sh: line 339: [: -le: unary operator expected
> > CF card is  MiB
> > awk: {foo =3D .06 * ; print int(foo)}
> > awk:              ^ syntax error
