From hg@ParView.com  Mon Dec 14 10:34:42 1998
Received: from postoffice.aeonflux.net (postoffice.aeonflux.net [208.139.254.10])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA23090
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Dec 1998 10:34:40 -0800 (PST)
          (envelope-from hg@ParView.com)
Received: (from uucp@localhost)
	by postoffice.aeonflux.net (8.8.8/8.8.7/PCS9711a) with UUCP id NAA17160
	for FreeBSD-gnats-submit@freebsd.org; Mon, 14 Dec 1998 13:34:20 -0500 (EST)
Received: (from root@localhost)
	by ParView.com (8.9.1/8.8.8/n2wx) id NAA99079;
	Mon, 14 Dec 1998 13:30:05 -0500 (EST)
	(envelope-from hg)
Message-Id: <199812141830.NAA99079@ParView.com>
Date: Mon, 14 Dec 1998 13:30:05 -0500 (EST)
From: Howard Goldstein <hg@ParView.com>
Reply-To: hg@ParView.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: <Synopsis of the problem (one line)> tunefs cant access mounted devices (vs. man page)
X-Send-Pr-Version: 3.2

>Number:         9078
>Category:       bin
>Synopsis:       tunefs cant access mounted devices (vs. man page)
>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:   Mon Dec 14 10:40:01 PST 1998
>Closed-Date:    Mon Mar 13 23:40:32 PST 2000
>Last-Modified:  Mon Mar 13 23:40:56 PST 2000
>Originator:     Howard Goldstein
>Release:        FreeBSD 3.0-CURRENT i386 (from 9 Dec 98 cvsup)
>Organization:
>Environment:

	
mount info:
slice:/usr/home/hg# mount
/dev/sd0s1a on / (NFS exported, local, writes: sync 912 async 36709)
/dev/sd0s1f on /usr (NFS exported, local, writes: sync 20992 async 180757)
/dev/sd0s1e on /var (NFS exported, local, writes: sync 29319 async 103805)
procfs on /proc (local)

>Description:

	
tunefs is unable to access filesystem info of mounted slices ,
resulting in, for ex.,  "tunefs: cannot open /dev/sd0s1f: Device busy"

tunefs man page states that it should work on mounted and active filesystems

I have not tried this with an unmounted filesystem

>How-To-Repeat:

	
try for ex., tunefs -p /usr
>Fix:
	
	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs
Responsible-Changed-By: steve
Responsible-Changed-When: Sat Dec 19 23:16:40 GMT 1998
Responsible-Changed-Why: 
Misfiled PR.
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Mar 13 23:40:32 PST 2000 
State-Changed-Why:  
Superseded by PR 17143. 
>Unformatted:
