bin/57231: usr.bin/uname -s value always placed in first position

Timothy M. Lyons lyons at digitalvoodoo.org
Thu Sep 25 21:00:29 PDT 2003


>Number:         57231
>Category:       bin
>Synopsis:       usr.bin/uname -s value always placed in first position
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 25 21:00:25 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Timothy M. Lyons
>Release:        FreeBSD 5.1-RELEASE-p8 i386
>Organization:
Digitalvoodoo, LLC
>Environment:
System: FreeBSD devil.dmz.digitalvoodoo.org 5.1-RELEASE-p8 FreeBSD
5.1-RELEASE-p8 #0: Thu Sep 25 14:06:35
EDT 2003 root at devil.dmz.digitalvoodoo.org:/usr/obj/usr/src/sys/DEVILKERN i386

>Description:
        I was fooling around with the output of uname this evening and
        happened to notice that no matter where you places the -s option,
        the value is placed in the first position.
        Normal Use:
                # uname -n -p -r
                  devil.dmz.digitalvoodoo.org 5.1-RELEASE-p8 i386
        Okay - now I want to insert the OS Name in position 2:
                #  uname -n -s -p -r -s
                   FreeBSD devil.dmz.digitalvoodoo.org 5.1-RELEASE-p8 i386
        Same result using any other combination of options involving -s

>How-To-Repeat:
        I repeated this on two 5.1 boxes with the same system state
	(updated 09/25 STABLE)
>Fix:
        I wish I did. This seems as if it would be a trivial fix
        for someone who knows how to program.

>Release-Note:
>Audit-Trail:
>Unformatted:
 X-send-pr-version: 3.113
 X-GNATS-Notify:
 
 


More information about the freebsd-bugs mailing list