From owner-freebsd-hackers Wed Mar 19 01:06:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA12973 for hackers-outgoing; Wed, 19 Mar 1997 01:06:08 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA12967 for ; Wed, 19 Mar 1997 01:06:04 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id BAA20686; Wed, 19 Mar 1997 01:06:03 -0800 (PST) To: Mike Pritchard cc: hackers@freebsd.org Subject: Re: dup3() - I've thought it over and decided... In-reply-to: Your message of "Tue, 18 Mar 1997 23:36:12 PST." <199703190736.XAA09452@freefall.freebsd.org> Date: Wed, 19 Mar 1997 01:06:03 -0800 Message-ID: <20682.858762363@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > How about going more along the checkpoint/restart route? Suspend > the process, checkpoint it, and on restart you can reconnect stdin/out/err > to either the current tty, or to another file. Reconnecting to > a pipeline should also be possible. I can dig up the USENIX paper > the Cray guys wrote on this if you like :-). Does the checkpoint feature allow you to complete snapshot process state? That's another item on my wishlist. :-) I wouldn't mind reading that paper, if you can dig it up. Anyone remember a timesharing system called ITS (from MIT)? If you got disconnected from the modem (not uncommon in those days of Pennywhistle, 300 baud acoustically-coupled modems :-) you wouldn't lose your session, like you do under UNIX, rather the next time you logged in it would ask you: [Attach your detached tree?] And if you said 'y' you'd get your old process tree back, everything right where you left it. Now I'm not sure if ITS accomplished this by leaving your processes suspended and under the ownership of some foster parent for a certain period of time, or if it genuinely saved them to disk and then resurrected them on demand, but it sure was a bloody convenient feature which I've always missed! :-) Jordan