Snapshots mtime seems to be getting updated
Steve Roome
steve at lonres.com
Wed Jun 1 10:14:43 PDT 2005
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
More information about the freebsd-hackers
mailing list