On Mon, Dec 05, 2005 at 05:37:31PM +1100 I heard the voice of
Bruce Evans, and lo! it spake thus:
>
> You have to say something like "mount -u -o fstab,noro" or "mount -u
> -o current,noro" to fetch or preserve when just changing ro to rw.
> (It seems to be necessary to use noro when fstab or current set ro
> -- rw doesn't seem to cancel ro.)
-w does, though. Or maybe it's ordering ("-w -ofstab" doesn't work
right, for instance), though that doesn't seem to apply to -o args. I
mount a lot of my filesystems (including /) read-only, but I often
have to write something to 'em. So I just have a pair of scripts:
root% cat ~/bin/rmount ; echo '----' ; cat ~/bin/wmount
#!/bin/sh
/sbin/mount -uofstab -r $*
----
#!/bin/sh
/sbin/mount -uofstab -w $*
--
Matthew Fuller (MF4839) | [EMAIL PROTECTED]
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"