Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 00:39:01 -0400
From:      Brian Dean <bsd@bsdhome.com>
To:        Mike Barcroft <mike@FreeBSD.org>
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>
In-Reply-To: <20010720004528.B57085@coffee.q9media.com>; from mike@FreeBSD.org on Fri, Jul 20, 2001 at 12:45:28AM -0400
References:  <200107192125.f6JLPAE95986@freefall.freebsd.org> <20010719235441.A92761@neutrino.bsdhome.com> <20010720004528.B57085@coffee.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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