From owner-freebsd-current@FreeBSD.ORG Tue Mar 20 18:21:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B974016A412 for ; Tue, 20 Mar 2007 18:21:03 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 423F013C4DD for ; Tue, 20 Mar 2007 18:21:02 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HTiwR-0000Dk-1L for freebsd-current@freebsd.org; Tue, 20 Mar 2007 19:20:15 +0100 Received: from 83-131-104-174.adsl.net.t-com.hr ([83.131.104.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Mar 2007 19:20:15 +0100 Received: from ivoras by 83-131-104-174.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Mar 2007 19:20:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Tue, 20 Mar 2007 19:19:51 +0100 Lines: 49 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9FEAB7753B9D47040FDD943A" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-104-174.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) X-Enigmail-Version: 0.94.1.2 Sender: news Cc: freebsd-geom@freebsd.org Subject: tunefs on a mounted file system? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 18:21:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9FEAB7753B9D47040FDD943A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable According to the man page, tunefs should work on a mounted file system if it's downgraded to read-only. But, it doesn't work: vir7:/home/ivoras# mount -u -o ro / vir7:/home/ivoras# mount /dev/ad0s1a on / (ufs, local, read-only) devfs on /dev (devfs, local) vir7:/home/ivoras# tunefs -n enable / tunefs: soft updates set tunefs: /dev/ad0s1a: failed to write superblock I've set kern.geom.debugflags to 16 but it still doesn't work. I think this may have something to do with GEOM access modes: vir7:/home/ivoras# geom disk list Geom name: ad0 Providers: 1. Name: ad0 Mediasize: 8589934592 (8.0G) Sectorsize: 512 Mode: r2w1e3 fwsectors: 63 fwheads: 15 I don't know where do the one writer and three exclusive users come from. Any ideas where to dig? --------------enig9FEAB7753B9D47040FDD943A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGACXRldnAQVacBcgRAq2GAKD4FZ0wsm/8PXRg4PW9RvRnfDnQegCgiAgU U34WBDnOfoH5eBSSFtrjZRM= =Fn2u -----END PGP SIGNATURE----- --------------enig9FEAB7753B9D47040FDD943A--