Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 13:33:44 -0800 (PST)
From:      John Kozubik <john@kozubik.com>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: mounted snapshots still writeable 1.5 years later (RE: kern/68576)
Message-ID:  <20051121133115.E95949@kozubik.com>
In-Reply-To: <20051111190806.V33260@fledge.watson.org>
References:  <20051111091807.J95949@kozubik.com> <20051111185927.Q33260@fledge.watson.org> <20051111110253.U95949@kozubik.com> <20051111190806.V33260@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Robert,

On Fri, 11 Nov 2005, Robert Watson wrote:

> >> peppercorn# mdconfig -a -t vnode -f test
> >> WARNING: opening backing store: /mnt/.snap/test readonly
> >> md1
> >> peppercorn# mount /dev/md1 /mnt2
> >> mount: /dev/md1: Read-only file system
> >> peppercorn# mount -o rdonly /dev/md1 /mnt2
> >> peppercorn# ls -l
> >> total 2
> >> drwxrwxr-x  2 root  operator  512 Nov 11 18:56 .snap
> >> peppercorn# mount -uw /mnt2
> >> mount: /dev/md1: Read-only file system
> >
> > Was this ^^^ on a 6.x system ?
>
> Sorry, should have been more clear -- that's a 7.x system from just after
> the branch, and I believe no significant changes from 6-beta1 or so.

I have since tested this on 6.0-RELEASE - it behaves as you describe above
(that is to say, it behaves correctly).  It is still a bug in 5.x,
however (see kern/68576).

-----
John Kozubik - john@kozubik.com - http://www.kozubik.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051121133115.E95949>