[3211] in testers
sgi 8.1.1: attach&run scripts
daemon@ATHENA.MIT.EDU (Craig Fields)
Tue Jun 10 17:27:30 1997
To: testers@MIT.EDU
Date: Tue, 10 Jun 1997 17:27:20 EDT
From: Craig Fields <cfields@MIT.EDU>
System name: mad-scientist
Type and version: IP22 8.1.1 (with mkserv)
Display type: GR3-XZ
What's wrong:
if [ ! -r /mit/@LOCKER@ ]; then
/bin/athena/attach -q @LOCKER@
fi
We don't actually have any idea what's mounted there.
What should have happened:
A proper workaround in /bin/sh would involve grepping the
output of ls -l /mit/@LOCKER@.
This is getting gross. Earlier on, for solving the argv0
problem, I had considered something of the form:
#!/usr/athena/bin/attachandrun
@LOCKER@
which would be a C program which could easily perform all of
the appropriate magic.
At that point, if desired, all of the moira programs could
be a link to the same script, etc.
If there aren't serious objections to this scheme, I'd be
happy to implement it.
Craig