From owner-freebsd-doc Wed May 23 8:34:35 2001 Delivered-To: freebsd-doc@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 721DE37B42C; Wed, 23 May 2001 08:34:29 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f4NFYOg30134; Wed, 23 May 2001 18:34:24 +0300 (EEST) (envelope-from ru) Date: Wed, 23 May 2001 18:34:24 +0300 From: Ruslan Ermilov To: Nik Clayton Cc: reel@sympatico.ca, freebsd-doc@freebsd.org Subject: Re: docs/27440: Undocumented option "-l" for reboot(8) Message-ID: <20010523183424.A29448@sunbay.com> References: <200105201110.f4KBAbm71358@freefall.freebsd.org> <20010523161104.A32846@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010523161104.A32846@catkin.nothing-going-on.org>; from nik@freebsd.org on Wed, May 23, 2001 at 04:11:04PM +0100 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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