From nobody@FreeBSD.org  Fri May 18 20:25:55 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id C6A1437B443
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 May 2001 20:25:54 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f4J3PsF10485;
	Fri, 18 May 2001 20:25:54 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105190325.f4J3PsF10485@freefall.freebsd.org>
Date: Fri, 18 May 2001 20:25:54 -0700 (PDT)
From: reel@sympatico.ca
To: freebsd-gnats-submit@FreeBSD.org
Subject: Undocumented option "-l" for reboot(8)
X-Send-Pr-Version: www-1.0

>Number:         27440
>Category:       docs
>Synopsis:       Undocumented option "-l" for reboot(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    nik
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 18 20:30:01 PDT 2001
>Closed-Date:    Thu May 24 02:27:33 PDT 2001
>Last-Modified:  Thu May 24 02:29:11 PDT 2001
>Originator:     Flix-Antoine Paradis
>Release:        FreeBSD 4.3-STABLE
>Organization:
Idemnia Networks
>Environment:
FreeBSD idemnia.ath.cx 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon May 14 08:51:49 EDT
 2001     reel@idemnia.ath.cx:/usr/src/sys/compile/ZEUS  i386

>Description:
In the source, and in the manpage of reboot(8), there are no 
informations on the -l option. This option is used by shutdown
when he wants to reboot the system (shutdown -r ...). The usage
of the -l option is to tell reboot(8) not to send any informations
about the user that wants to reboot to syslogd(8). Just check the
code to know more.
>How-To-Repeat:
man 8 reboot

missing the -l option.

edit: /usr/src/sbin/reboot/reboot.c
line: 85.
>Fix:
Add informations about the -l options (no logging)
and remove the undocumented part in the source file.
>Release-Note:
>Audit-Trail:
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. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27440 
State-Changed-From-To: closed->open 
State-Changed-By: ru 
State-Changed-When: Wed May 23 08:51:44 PDT 2001 
State-Changed-Why:  
Nik thinks this should still be documented. 


Responsible-Changed-From-To: freebsd-doc->nik 
Responsible-Changed-By: ru 
Responsible-Changed-When: Wed May 23 08:51:44 PDT 2001 
Responsible-Changed-Why:  

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27440 
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Thu May 24 02:27:33 PDT 2001 
State-Changed-Why:  
Now documented, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27440 
>Unformatted:
