From owner-freebsd-current Fri Mar 3 3:15:46 2000 Delivered-To: freebsd-current@freebsd.org Received: from Mail.Openet-Telecom.COM (opentisdn.isdn.dublin.esat.net [193.120.50.79]) by hub.freebsd.org (Postfix) with ESMTP id 1D1FE37B9A3 for ; Fri, 3 Mar 2000 03:15:35 -0800 (PST) (envelope-from peter.edwards@openet-telecom.com) Received: from openet-telecom.com (rocklobster.openet-telecom.lan [10.0.0.40]) by Mail.Openet-Telecom.COM (8.9.3/8.9.3) with ESMTP id LAA61562; Fri, 3 Mar 2000 11:20:40 GMT (envelope-from peter.edwards@openet-telecom.com) Message-ID: <38BF9EA8.F89B7CFF@openet-telecom.com> Date: Fri, 03 Mar 2000 11:14:49 +0000 From: Peter Edwards Organization: Openet Telecom X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 Cc: Sheldon Hearn , current@FreeBSD.ORG Subject: Re: tunefs -p doesn't work for read-write mounts References: <32207.952075413@axl.ops.uunet.co.za> <20000303100838.A97291@walton.maths.tcd.ie> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just send-pr'ed a patch for this: misc/17143 David Malone wrote: > > On Fri, Mar 03, 2000 at 11:23:33AM +0200, Sheldon Hearn wrote: > > > Shouldn't I be able to show the current tuneables for a given filesystem? > > > > # tunefs -p /usr > > tunefs: cannot work on read-write mounted file system > > Tunefs seems to have had trouble with being given filesystem names > for a bit. Giving the device name works in 3.4, but not in 4.0. > > David. > > 4.0-CURRENT: > > 10:04:gonzo 3# df /usr > Filesystem 1024-blocks Used Avail Capacity Mounted on > /dev/ad1s1f 858367 783550 6148 99% /usr > 10:04:gonzo 4# tunefs -p /usr > tunefs: cannot work on read-write mounted file system > 10:04:gonzo 5# tunefs -p /dev/ad1s1f > tunefs: cannot open /dev/ad1s1f: Device busy > 10:04:gonzo 6# tunefs -p /dev/rad1s1f > tunefs: cannot open /dev/rad1s1f: Device busy > > 3.4-STABLE: > > 10:05:walton 1# df /usr > Filesystem 1024-blocks Used Avail Capacity Mounted on > /dev/da0s1f 762223 673236 28010 96% /usr > 10:05:walton 2# tunefs -p /usr > tunefs: cannot work on read-write mounted file system > 10:05:walton 3# tunefs -p /dev/rda0s1f > tunefs: soft updates: (-n) disabled > tunefs: maximum contiguous block count: (-a) 15 > tunefs: rotational delay between contiguous blocks: (-d) 0 ms > tunefs: maximum blocks per file in a cylinder group: (-e) 2048 > tunefs: minimum percentage of free space: (-m) 8% > tunefs: optimization preference: (-o) time > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message