From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 1 17:14:43 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34B6516A424 for ; Wed, 1 Jun 2005 17:14:43 +0000 (GMT) (envelope-from steve@lonres.com) Received: from anchor-post-36.mail.demon.net (anchor-post-36.mail.demon.net [194.217.242.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id E78D443D62 for ; Wed, 1 Jun 2005 17:14:41 +0000 (GMT) (envelope-from steve@lonres.com) Received: from mail.lonres.com ([194.70.153.187]) by anchor-post-36.mail.demon.net with esmtp (Exim 4.42) id 1DdWnd-000NCT-Lk; Wed, 01 Jun 2005 17:14:41 +0000 Received: from bibipentium.lonres.com (bibipentium.lonres.com [10.10.10.225]) by mail.lonres.com (Postfix) with SMTP id 941E72E06C; Wed, 1 Jun 2005 18:14:37 +0100 (BST) Received: by bibipentium.lonres.com (sSMTP sendmail emulation); Wed, 1 Jun 2005 18:15:15 +0100 From: "Steve Roome" Date: Wed, 1 Jun 2005 18:15:15 +0100 To: Marc Olzheim Message-ID: <20050601171515.GG7584@bibipentium.lonres.com> Mail-Followup-To: Steve Roome , Marc Olzheim , freebsd-hackers@freebsd.org References: <20050531144115.GA1317@bibipentium.lonres.com> <20050601163708.GA79793@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050601163708.GA79793@stack.nl> User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Thu, 02 Jun 2005 11:53:58 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Snapshots mtime seems to be getting updated X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 17:14:43 -0000 On Wed, Jun 01, 2005 at 06:37:08PM +0200, Marc Olzheim wrote: > On Tue, May 31, 2005 at 03:41:15PM +0100, Steve Roome wrote: > > # Check that SNAPFILE can be created/deleted > > > > mksnap_ffs $MOUNT $SNAPFILE && MD_DEV=`mdconfig -a -t vnode -f $SNAPFILE` && mount -o ro,noatime /dev/$MD_DEV /${SNAPMOUNT} > > Perhaps a mdconfig option '-o readonly' might help... > > Zlo On this version 5.4-stable (as of 29 apr) readonly has no effect for mdconfig, it's documented somewhere, (certainly I at least remember seeing it in the code). I'll have another look later and see if anyone has changed md's to actually honour it. Many thanks though, I didn't think I was ever going to get any suggestions on this one! Steve