From owner-freebsd-bugs Wed Oct 10 8:50:16 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8AD5D37B408 for ; Wed, 10 Oct 2001 08:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9AFo1r94500; Wed, 10 Oct 2001 08:50:01 -0700 (PDT) (envelope-from gnats) Received: from mail.wlcg.com (mail.wlcg.com [198.92.199.5]) by hub.freebsd.org (Postfix) with ESMTP id DCC7737B405 for ; Wed, 10 Oct 2001 08:46:08 -0700 (PDT) Received: (from rsimmons@localhost) by mail.wlcg.com (8.11.6/8.11.6) id f9AFk7j97527; Wed, 10 Oct 2001 11:46:07 -0400 (EDT) (envelope-from rsimmons) Message-Id: <200110101546.f9AFk7j97527@mail.wlcg.com> Date: Wed, 10 Oct 2001 11:46:07 -0400 (EDT) From: Rob Simmons Reply-To: Rob Simmons To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/31199: tunefs error is incorrect when enabling softupdates Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31199 >Category: bin >Synopsis: tunefs error is incorrect when enabling softupdates >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: Wed Oct 10 08:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Rob Simmons >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD mail 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Sep 19 20:15:26 EDT 2001 rsimmons@mail:/usr/obj/usr/src/sys/WASABI i386 >Description: When tunefs is used to enable softupdates, it gives conflicting mesages if the filesystem is mounted. >How-To-Repeat: run "tunefs -n enable " on a mounted filesystem. You will get the following output: bash-2.05$ tunefs -n enable /dev/ad0s1a tunefs: soft updates set tunefs: cannot open /dev/ad0s1a: Permission denied >Fix: in tunefs.c, check for write permission on the device before going through the case statement for argument "n". I don't know how to implement this check :( >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message