Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 03:40:03 -0700 (PDT)
From:      peter@taronga.com
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/6320: Sometimes nohup isn't good enough.
Message-ID:  <200108231040.f7NAe3Z36385@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/6320; it has been noted by GNATS.

From: peter@taronga.com
To: freebsd-gnats-submit@FreeBSD.org, peter@baileynm.com
Cc: peter@taronga.com
Subject: Re: misc/6320: Sometimes nohup isn't good enough.
Date: 23 Aug 2001 10:34:27 -0000

 Not exactly. If there was a daemon(1) it might be a duplicate of that, but
 not only isn't there a daemon(1), detach(1) predates daemon(3), 4.4BSD, and
 probably 4.3BSD... I first wrote it for Xenix-286 around 1985 to 1987. Which
 is why it's not using daemon(3) internally.
 
 I suppose you could write a daemon(1), or rewrite detach(1) to use daemon(3),
 but it's code in hand. Nobody has to rewrite anything. And it works and it's
 portable (it runs on Xenix-286, Zeus, SunOS 4, System V, Solaris, SCO, Tru64,
 and has done so for the past 15 years).
 
 A standalone daemonizing program is something that is needed, especially as
 we get more and more non-open-source software drifting into FreeBSDland
 both directly and via things like the Linux emulator. If you don't just
 grab this (again, as code in hand) at least whack out a workalike... though
 I don't think all the options of detach(1) can be implemented via daemon(1),
 and each one has been added as a direct result of user demand over the past
 15 years.
 

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




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