Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 01:03:14 -0400
From:      Mike Barcroft <mike@FreeBSD.ORG>
To:        Brian Dean <bsd@bsdhome.com>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/nohup nohup.c nohup.1
Message-ID:  <20010720010314.D57085@coffee.q9media.com>
In-Reply-To: <20010720003901.B92761@neutrino.bsdhome.com>; from bsd@bsdhome.com on Fri, Jul 20, 2001 at 12:39:01AM -0400
References:  <200107192125.f6JLPAE95986@freefall.freebsd.org> <20010719235441.A92761@neutrino.bsdhome.com> <20010720004528.B57085@coffee.q9media.com> <20010720003901.B92761@neutrino.bsdhome.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 20, 2001 at 12:39:01AM -0400, Brian Dean wrote:
> 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 :)

Also, tcsh has a builtin for nohup, so you may be running that if
you're using tcsh without an explicit path to nohup.

Best regards,
Mike Barcroft 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010720010314.D57085>