From owner-freebsd-ports Sat Jan 12 21:13:39 2002 Delivered-To: freebsd-ports@freebsd.org Received: from server10.safepages.com (server10.safepages.com [216.127.146.24]) by hub.freebsd.org (Postfix) with ESMTP id 7205C37B41C for ; Sat, 12 Jan 2002 21:13:34 -0800 (PST) Received: from surfbest.net (140-pool1.ras11.vahen.tii-dial.net [206.148.72.140]) by server10.safepages.com (Postfix) with ESMTP id 892643D596; Sun, 13 Jan 2002 00:15:30 +0000 (GMT) Message-ID: <3C40D184.1000702@surfbest.net> Date: Sat, 12 Jan 2002 19:15:00 -0500 From: Ken Stailey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.7) Gecko/20011222 X-Accept-Language: en-us MIME-Version: 1.0 To: "."@babolo.ru Cc: alane@geeksrus.net, freebsd-ports@FreeBSD.ORG Subject: Re: ports/33818: Bootable ITS image for KLH-10 PDP-10 emulator References: <200201130013.DAA11901@aaz.links.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "."@babolo.ru wrote: >Alan Eldridge writes: > >>The following reply was made to PR ports/33818; it has been noted by GNATS. >> >>From: Alan Eldridge >>To: Kenneth Stailey >>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