[3212] in testers

home help back first fref pref prev next nref lref last post

Re: sgi 8.1.1: attach&run scripts

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jun 10 20:20:04 1997

To: Craig Fields <cfields@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: Your message of "Tue, 10 Jun 1997 17:27:20 EDT."
             <199706102127.RAA18803@mad-scientist.MIT.EDU> 
Date: Tue, 10 Jun 1997 20:19:56 EDT
From: Greg Hudson <ghudson@MIT.EDU>

> 	if [ ! -r /mit/@LOCKER@ ]; then
> 		/bin/athena/attach -q @LOCKER@
> 	fi

> 	We don't actually have any idea what's mounted there.

I noticed this problem, but later than I thought it was worthwhile
fixing it.  I was thinking of testing for [ -x @BINDIR/@PROGRAM@ ].

> A proper workaround in /bin/sh would involve grepping the output of
> ls -l /mit/@LOCKER@.

Or the output of "attach".  I hadn't previously thought about the
possibility that someone might have attached a different locker on the
same mountpoint.  I'm not sure what I think the best answer is just
now; I want to think about it for a while.

home help back first fref pref prev next nref lref last post