[17000] in Athena Bugs
Re: sun4 8.3.13: Netscape
daemon@ATHENA.MIT.EDU (t. belton)
Wed Aug 4 10:38:31 1999
Date: Wed, 4 Aug 1999 10:38:24 -0400 (EDT)
From: "t. belton" <tbelton@MIT.EDU>
To: Mike Barker <mbarker@MIT.EDU>
Cc: "Roger A. Roach" <rar@MIT.EDU>, bugs@MIT.EDU
In-Reply-To: <4.1.19990804082656.019e81c0@po11.mit.edu>
Message-Id: <Pine.GSO.3.96L.990804103644.13136C-100000@iphigenia.mit.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Darn it, I should learn to read all my mail before replying :)
I'm trying to make the 'netscape' script more robust right now. Mike, any
suggestions for having this deal with both an AFS zero-quota situation and
a non-AFS full-volume situation? I don't know how to test if $HOME points
to AFS space ....
On Wed, 4 Aug 1999, Mike Barker wrote:
> hum...looks as if the new netscape quota check doesn't know how to deal with
> accounts that aren't in AFS.
>
> Best "workaround" I can think of for now is to grab a copy of netscape
> (/mit/infoagents/arch/sun4x_56/bin/netscape) and remove these lines:
>
> # second, see if we have quota, else die.
> quota=`fs lq ${HOME} | awk '/user\.'$USER'/ { print $2; }'`
> usage=`fs lq ${HOME} | awk '/user\.'$USER'/ { print $3; }'`
>
> if [ "$usage" -ge "$quota" ]; then
> echo Netscape cannot be launched because you do
> echo not have enough disk space available.
> exit 1
> fi
>
> that should let you run it, at least.
>
> mike