Date: Wed, 1 Jun 2005 18:15:15 +0100 From: "Steve Roome" <steve@lonres.com> To: Marc Olzheim <marcolz@stack.nl> Cc: freebsd-hackers@freebsd.org Subject: Re: Snapshots mtime seems to be getting updated Message-ID: <20050601171515.GG7584@bibipentium.lonres.com> In-Reply-To: <20050601163708.GA79793@stack.nl> References: <20050531144115.GA1317@bibipentium.lonres.com> <20050601163708.GA79793@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050601171515.GG7584>