From j@ida.interface-business.de  Fri Aug 29 01:22:09 1997
Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.202])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA19826
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Aug 1997 01:22:07 -0700 (PDT)
Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.203]) by innocence.interface-business.de (8.6.11/8.6.9) with SMTP id KAA25646 for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Aug 1997 10:21:52 +0200
Received: (from j@localhost) by ida.interface-business.de (8.8.7/8.7.3) id KAA27108; Fri, 29 Aug 1997 10:22:50 +0200 (MET DST)
Message-Id: <199708290822.KAA27108@ida.interface-business.de>
Date: Fri, 29 Aug 1997 10:22:50 +0200 (MET DST)
From: J Wunsch <j@ida.interface-business.de>
Reply-To: j@ida.interface-business.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: df(1) always pretends success
X-Send-Pr-Version: 3.2

>Number:         4415
>Category:       bin
>Synopsis:       df(1) always pretends success
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 01:30:01 PDT 1997
>Closed-Date:    Sun Oct 12 15:55:51 MEST 1997
>Last-Modified:  Sun Oct 12 15:56:07 MEST 1997
>Originator:     J Wunsch
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
interface business GmbH
>Environment:

Any version of FreeBSD

>Description:

df(1) always pretends success.  Only if a usage: string is displayed,
it returns 1 into the environment, but 0 in all other cases.  This
makes it impossible for shell scripts to test for the actual success,
and know whether they can trust the result or not.


>How-To-Repeat:

j@ida 447% df -k /dev/rsd1s1e
df: /dev/rsd1s1e: No such file or directory
j@ida 448% echo $status
0

>Fix:
	
not yet known


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Oct 12 15:55:51 MEST 1997 
State-Changed-Why:  

Fixed in rev 1.18 of df.c. 
>Unformatted:
