From owner-freebsd-ports Sat Jan 12 13:20:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 00EC237B41C for ; Sat, 12 Jan 2002 13:20:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0CLK6u54635; Sat, 12 Jan 2002 13:20:06 -0800 (PST) (envelope-from gnats) Date: Sat, 12 Jan 2002 13:20:06 -0800 (PST) Message-Id: <200201122120.g0CLK6u54635@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Ken Stailey Subject: Re: ports/33818: Bootable ITS image for KLH-10 PDP-10 emulator Reply-To: Ken Stailey 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 The following reply was made to PR ports/33818; it has been noted by GNATS. From: Ken Stailey To: Alan Eldridge Cc: FreeBSD Bugs Subject: Re: ports/33818: Bootable ITS image for KLH-10 PDP-10 emulator Date: Sat, 12 Jan 2002 16:16:30 -0500 Alan Eldridge wrote: > > >You've got a port that really wants to run as a USER, in a private >directory. > >Perhaps the way this works needs to be thought out a bit more. Like, >installing the compressed image and providing a "user install" script, >which makes a user directory with the uncompressed image. > >If you work on the master image, then what are you supposed to do when >you fsck it up? Reinstall the port? Not a good solution. > > Well if there is a master copy of the ITS image it should be compressed. Some sort of "make-its-user" command would set up the files in a subdir of a user's home. The emulator binary proper, kn10-ks, does not need to be root to run. A subordinate binary, dpimp, that does networking support for kn10-ks does need to run as root. You can still get console access to ITS without root privs but won't be able to use network command to get in and out of the emulated ITS. kn10-ks needs to be in a directory with its support files and subordinate binaries. None of these are modified during execution. The emulator image or a symlink to it needs to be there too. It does get modified as ITS runs. hermes# du -ks * | sort -n 1 README 1 flushed 1 klh10-kn.ini 1 klh10-md.ini 1 klh10-pi.ini 9 udlconv 11 wfconv 15 vdkfmt 19 @.ddt-u 19 wxtest 20 dprpxx 22 dpimp 51 tapedd 54 dptm03 64 @.nsalv-260-u 296 itsbin.647kn-u 296 itsbin.647md-u 296 itsbin.647pi-u 304 kn10-ks 344 @.its-647kn-u 344 @.its-647md-u 344 @.its-647pi-u 173712 PI-ITS-RP06.0-dbd9 The port install could put these into ${PREFIX}/libdata as a compressed tarball. A setup-its-user script could install the tarball in a given directory. The tarball would be ${LIBMODE}. Is that OK? Thanks, Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message