Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 02:06:10 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Matthew Jacob <lydianconcepts@gmail.com>
Cc:        Michiel Boland <michiel@boland.org>, freebsd-current@freebsd.org
Subject:   Re: 'ro' option in fstab not recognized?
Message-ID:  <20061024220610.GB929@rambler-co.ru>
In-Reply-To: <7579f7fb0610241337u10eceb27pba6adf65ebf19dab@mail.gmail.com>
References:  <Pine.GSO.4.64.0610242052300.17749@brakkenstein.nijmegen.internl.net> <7579f7fb0610241337u10eceb27pba6adf65ebf19dab@mail.gmail.com>

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

--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 24, 2006 at 01:37:00PM -0700, Matthew Jacob wrote:
> No, you're not stupid. This has been happening in 6 and -current for
> months now.
>=20
I cannot reproduce it on RELENG_6.  On -CURRENT indeed there
was a problem; I've just fixed it backing out rev. 1.86 to
mount.c, see the commit log for details.

> I just haven't had time to figure out what got broken.
>=20
> You can fix it after mount by doing
>=20
>  mount -u -o ro /usr/j/usr/local
>=20
>=20
> On 10/24/06, Michiel Boland <michiel@boland.org> wrote:
> >Hi. I must be extremely stupid. I have this in my fstab
> >
> >/usr/local /usr/j/usr/local nullfs ro 0 0
> >
> >but /usr/j/usr/local still appears to be mounted read-write.
> >
> >Oh wait, I guess this is also already covered by PR 100164.
> >
> >Line 197 of sys/mount/mount.c explicitly adds an option "noro".
> >Looks to me like this makes it impossible to mount *any* file system
> >read-only, except by explicitly passing flags to mount.
> >Surely this is not what fstab was designed for? :)


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--K8nIJk4ghYZn606h
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFPo5SqRfpzJluFF4RAvDUAJwO6rP05pcFBA877eihNcEgdLqe+gCffwB7
3gizIEAc5rIqyC5Frfu7U6U=
=6Pt7
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--



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