Date: Mon, 21 Jan 2002 07:00:05 -0800 (PST) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/34109: /etc/rc.shutdown isn't run on halt(8) Message-ID: <200201211500.g0LF05u14924@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/34109; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: conf/34109: /etc/rc.shutdown isn't run on halt(8) Date: Mon, 21 Jan 2002 16:56:44 +0200 On Mon, Jan 21, 2002 at 03:42:39PM +0100, clemensF wrote: > > Peter Pentchev: > > > Errr.. how exactly did you try to shut your system down? > > i do not need the functionality of shutdown(8), so i choose halt(8) to do > the job. > > > The /etc/rc.shutdown script is run quite fine if you use the shutdown(8) > > i will try shutdown(8), but i'm really not sure i want it. There is no overhead in a 'shutdown -h now' or 'shutdown -r now' invocation, while there is a lot to be said about letting the system shut itself down gracefully. halt(8) and reboot(8) are there only as a last resort utilities for really urgent cases. > > Normally, the shutdown(8) utility is used when the system needs to be > > halted or restarted, giving users advance warning of their impending doom > > and cleanly terminating specific programs. > > > > Note the 'cleanly terminating specific programs' part :) > > do you suggest users do guesswork to find out if a clearly defined script > is run or not? i'd prefer "... and runs /etc/rc.shutdown to cleanly > terminate specific programs." shutdown(8) does not run /etc/rc.shutdown; init(8) does. All that shutdown(8) does is initiate a system shutdown. G'luck, Peter -- What would this sentence be like if it weren't self-referential? 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?200201211500.g0LF05u14924>