Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 11:46:07 -0400 (EDT)
From:      Rob Simmons <rsimmons@mail.wlcg.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/31199: tunefs error is incorrect when enabling softupdates
Message-ID:  <200110101546.f9AFk7j97527@mail.wlcg.com>

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

>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 <fs>" 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




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