'ro' option in fstab not recognized?

From: Michiel Boland <michiel_at_boland.org>
Date: Tue, 24 Oct 2006 21:09:55 +0200 (MEST)
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? :)
Received on Tue Oct 24 2006 - 17:09:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC