From robert@fledge.watson.org  Fri Dec  7 13:12:18 2001
Return-Path: <robert@fledge.watson.org>
Received: from fledge.watson.org (fledge.watson.org [204.156.12.50])
	by hub.freebsd.org (Postfix) with ESMTP id 335F937B41C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Dec 2001 13:12:17 -0800 (PST)
Received: (from robert@localhost)
	by fledge.watson.org (8.11.6/8.11.5) id fB7LC3o48668;
	Fri, 7 Dec 2001 16:12:03 -0500 (EST)
	(envelope-from robert)
Message-Id: <200112072112.fB7LC3o48668@fledge.watson.org>
Date: Fri, 7 Dec 2001 16:12:03 -0500 (EST)
From: Robert Watson <rwatson@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: counter-intuitive failure message from tunefs
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32590
>Category:       bin
>Synopsis:       counter-intuitive failure message from tunefs
>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 Dec 07 13:20:00 PST 2001
>Closed-Date:    Fri Dec 7 14:07:38 PST 2001
>Last-Modified:  Fri Dec 07 14:08:24 PST 2001
>Originator:     Robert Watson
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
NAI Labs
>Environment:

FreeBSD newcyrus.watson.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Sep 25 16:16:48 EDT 2001     root@newcyrus.watson.org:/usr/obj/usr/src/sys/GENERIC  i386

>Description:

When using tunefs to set parameters that cannot be modified on a live
file system, the error message may be counter-intuitive, suggesting that
the command both succeeded and failed:

newcyrus# tunefs -n enable /usr
tunefs: soft updates set
tunefs: cannot open /dev/ad0s1e: Device busy

Arguably, the soft updates set message should not be printed until the
call resulting in "Device busy" has succeeded.

>How-To-Repeat:

See above.

>Fix:
>Release-Note:
>Audit-Trail:

From: Ceri <setantae@submonkey.net>
To: Robert Watson <rwatson@freebsd.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/32590: counter-intuitive failure message from tunefs
Date: Fri, 7 Dec 2001 21:41:58 +0000

 Duplicate of bin/31199, which has patches.
 
 Ceri
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Fri Dec 7 14:07:38 PST 2001 
State-Changed-Why:  
duplicate. see the long audit trail and patches in bin/31199 

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