Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 18:34:24 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Nik Clayton <nik@freebsd.org>
Cc:        reel@sympatico.ca, freebsd-doc@freebsd.org
Subject:   Re: docs/27440: Undocumented option "-l" for reboot(8)
Message-ID:  <20010523183424.A29448@sunbay.com>
In-Reply-To: <20010523161104.A32846@catkin.nothing-going-on.org>; from nik@freebsd.org on Wed, May 23, 2001 at 04:11:04PM %2B0100
References:  <200105201110.f4KBAbm71358@freefall.freebsd.org> <20010523161104.A32846@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 23, 2001 at 04:11:04PM +0100, Nik Clayton wrote:
> On Sun, May 20, 2001 at 04:10:37AM -0700, ru@FreeBSD.org wrote:
> > Synopsis: Undocumented option "-l" for reboot(8)
> > 
> > State-Changed-From-To: open->closed
> > State-Changed-By: ru
> > State-Changed-When: Sun May 20 04:10:09 PDT 2001
> > State-Changed-Why: 
> > This option is intentionally left undocumented.
> 
> Any reason why it should stay undocumented?  Solaris 8 has
> 
>   -l  Suppress sending a message to syslogd about who executed reboot.
> 
OTOH, System V Release 4 (Unixware 7) has:

:   -l
:          Logs a message to the system log indicating who rebooted the
:          system.

This option is marked as undocumented in the code.

Using this option on a regular basis would hurt last(1) as it computes
some dates using this mark.

The only purpose of having -l is to avoid duplicate "shutdown" and
"reboot" marks to wtmp(5).


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

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




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