Subject: Re: an emulation environment dilema...
To: Todd Vierling <firstname.lastname@example.org>
From: Andreas Wrede <email@example.com>
Date: 10/23/1998 09:29:33
On Fri, 23 Oct 1998 07:55:53 EDT Todd Vierling writes
> On Thu, 22 Oct 1998, Greg A. Woods wrote:
> : 20:36  $ ls -l /emul/sunos/usr/bin
> : -rwxr-xr-x 1 woods wheel 1010 Oct 22 13:40 arch
> At 1010 bytes, this is obviously a shell script.
> Just out of curiosity, what shell was this written for (head -1 it)? I
> don't have my SunOS CD to check.
> I'm wondering if it's trying to do emul prefixing on the shell at the top of
> this file. Could you do a "ktrace -i" on the SunOS make to see the events
> surrounding running /bin/arch?
I had some luck running emulation specific shell script by changing the
interpreter line to #!/emul/xxx/bin/sh. This will cause all file opens by
the script to be first tried with the /emul/xxx/ prefix. Of course, you
possibly inherit a whole new set of problems from running an emulated
Andreas Wrede Planix, Inc.
firstname.lastname@example.org Networking, System Administration, Consulting
http://www.planix.com Toronto, Ontario, Canada