Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2002 19:15:00 -0500
From:      Ken Stailey <kstailey@surfbest.net>
To:        "."@babolo.ru
Cc:        alane@geeksrus.net, freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/33818: Bootable ITS image for KLH-10 PDP-10 emulator
Message-ID:  <3C40D184.1000702@surfbest.net>
References:  <200201130013.DAA11901@aaz.links.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"."@babolo.ru wrote:

>Alan Eldridge writes:
>
>>The following reply was made to PR ports/33818; it has been noted by GNATS.
>>
>>From: Alan Eldridge <alane@geeksrus.net>
>>To: Kenneth Stailey <kstailey@yahoo.com>
>>Cc:  
>>Subject: Re: ports/33818: Bootable ITS image for KLH-10 PDP-10 emulator
>>Date: Sat, 12 Jan 2002 14:29:55 -0500
>>
>> On Sat, Jan 12, 2002 at 11:01:03AM -0800, Kenneth Stailey wrote:
>> >
>> >>Description:
>> >	Bootable ITS image for KLH-10 PDP-10 emulator.  Disregart prior
>> >submission.  The image is rather large.  45MB compressed download and
>> >170MB uncompressed.  The port tries not to store two uncompressed copies
>> >during installation ever.
>> 
>> Urghh ... you know that all the stuff in libexec is read-only, right?
>> 
>> Just thought of that....
>> 
>> How's this supposed to be run? Root only?
>> 
>> Maybe you ought to put the disk image in, oh, ${PREFIX}/spool/klh10/images.
>> Then at least it's somewhere that's expected to be writable.
>> 
>> Anybody else got any ideas on that?
>>
>For lot of emulated systems (RT-11 vXX, UNIX vXX so on)
>I have scripts that copy disk image to user's TMPDIR, for example:
>#!/bin/sh
>echo 'type "unix" first, login as root'
>cp /usr/contrib/sim/unix_v5_rk.dsk ${TMPDIR}/unix5-$$
>echo "set cpu 18b" > ${TMPDIR}/unix5-$$-c
>echo "att rk0 ${TMPDIR}/unix5-$$" >> ${TMPDIR}/unix5-$$-c
>echo "boot rk" >> ${TMPDIR}/unix5-$$-c
>exec nice -5 pdp11 ${TMPDIR}/unix5-$$-c
>
>(and deleted (ports/sysutils/) runs on every user's TMPDIR)
>It is impossible to share single image disk between
>user's emulators for sanity.
>
>I don't know about net functions of ITS.
>Is it possible to start emulator as daemon
>and let users login in it via telnet?
>If so, then unmodified image must be kept
>in /usr/local/ hierarhy and start script
>must copy image to some nonclearing in
>reboot directory if absent or use ...
>sorry, my English is bad:
>
Yes you can telnet or supdup or ftp into an ITS system.  ITS has no 
security.  You can issue commands without logging in.  You can log into 
someone else's account with no password because there are no passwords 
on accounts.  You can make up an account name and log into that.  No 
password file, no security.  You need to read some ITS history.  Try

http://www.gnu.org/philosophy/stallman-kth.html

>
>itstmpdir="${TMPDIR}" # some dir in /tmp or /var hierarhy not cleared in reboot
>
>if [ ! -w ${itstmpdir}/image ]; then
>    cp /usr/local/..../image ${itstmpdir}/image # Exact path there
>    chmod u+w ${itstmpdir}/image
>fi
>
>and use this image for daemonised emulator
>    
>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C40D184.1000702>