Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 23:50:37 -0400 (EDT)
From:      "Timothy M. Lyons" <lyons@digitalvoodoo.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tlyons@digitalvoodoo.org
Subject:   bin/57231: usr.bin/uname -s value always placed in first position
Message-ID:  <20030925234544.H2040@fgenl.qzm.qvtvgnyibbqbb.bet>
Resent-Message-ID: <200309260400.h8Q40PlC061805@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:
 
 



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