From owner-cvs-all Thu Jul 19 21:39:12 2001 Delivered-To: cvs-all@freebsd.org Received: from saturn.bsdhome.com (unknown [24.25.2.193]) by hub.freebsd.org (Postfix) with ESMTP id 7099637B406; Thu, 19 Jul 2001 21:39:08 -0700 (PDT) (envelope-from bsd@bsdhome.com) Received: from neutrino.bsdhome.com (jupiter [192.168.220.13]) by saturn.bsdhome.com (8.11.3/8.11.3) with ESMTP id f6K4d6C28984; Fri, 20 Jul 2001 00:39:07 -0400 (EDT) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.11.4/8.11.4) id f6K4d1Z94831; Fri, 20 Jul 2001 00:39:01 -0400 (EDT) (envelope-from bsd) Date: Fri, 20 Jul 2001 00:39:01 -0400 From: Brian Dean To: Mike Barcroft Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/nohup nohup.c nohup.1 Message-ID: <20010720003901.B92761@neutrino.bsdhome.com> References: <200107192125.f6JLPAE95986@freefall.freebsd.org> <20010719235441.A92761@neutrino.bsdhome.com> <20010720004528.B57085@coffee.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010720004528.B57085@coffee.q9media.com>; from mike@FreeBSD.org on Fri, Jul 20, 2001 at 12:45:28AM -0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jul 20, 2001 at 12:45:28AM -0400, Mike Barcroft wrote: > nohup(1) used to open(2) the file then lseek(2) to the end of the > file, instead of just opening with O_APPEND. So two version running > at the same time clobber each other. Try this with the old version: > /usr/bin/nohup du /var & /usr/bin/nohup du /usr > you'll find only one of them will be outputted. With this version > the two may end up being intertwined, but no output is lost. That clears it up. Somehow, I've never managed to run into that one. Just lucky I guess :) Thanks! -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message