From owner-freebsd-hackers Tue Nov 4 17:05:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA24440 for hackers-outgoing; Tue, 4 Nov 1997 17:05:00 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from usr02.primenet.com (tlambert@usr02.primenet.com [206.165.6.202]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA24430 for ; Tue, 4 Nov 1997 17:04:54 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id SAA00987; Tue, 4 Nov 1997 18:04:40 -0700 (MST) From: Terry Lambert Message-Id: <199711050104.SAA00987@usr02.primenet.com> Subject: Re: portal pid not correct... To: gurney_j@resnet.uoregon.edu Date: Wed, 5 Nov 1997 01:04:39 +0000 (GMT) Cc: tlambert@primenet.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <19971104011630.17437@hydrogen.nike.efn.org> from "John-Mark Gurney" at Nov 4, 97 01:16:30 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > > > > comments? ideas? > > > > Use vfork for the side effect before child exit/exec. Man vfork for > > details. > > but I thought that the child ran until it either exit'd of exec'd? how > would the parent mount it while the child waited? from man vfork: > The parent process is suspended while the child is using > its resources. The child does the mount, and the parent waits, in this scheme. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.