Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 1997 10:22:50 +0200 (MET DST)
From:      J Wunsch <j@ida.interface-business.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4415: df(1) always pretends success
Message-ID:  <199708290822.KAA27108@ida.interface-business.de>
Resent-Message-ID: <199708290830.BAA20069@hub.freebsd.org>

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

>Number:         4415
>Category:       bin
>Synopsis:       df(1) always pretends success
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 01:30:01 PDT 1997
>Last-Modified:
>Originator:     J Wunsch
>Organization:
interface business GmbH
>Release:        FreeBSD 2.2-STABLE i386
>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


>Audit-Trail:
>Unformatted:



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