Sat, 14 May 2016 12:25:47 -0400 RD Thrush <[email protected]>
> On 05/14/16 04:34, Craig Skinner wrote:
> > Hi RD/all,
> > 
> > On 2016-05-13 Fri 17:16 PM |, RD Thrush wrote:  
> >>
> >> # cp -p /etc/fstab /etc/fstab.orig
> >> # sed -e 's,/usr ffs rw,/usr ffs ro,' </etc/fstab.orig >/etc/fstab
> >> # shutdown -f now
> >> Shutdown NOW!
> >> shutdown: [pid 82541]  
> > 
> > Something like this in /etc/rc might help here:
> > 
> > rebuildlibs() {
> >     mount -d /usr | fgrep -wq ro && _ro_usr='true'
> >     [[ -n ${_ro_usr} ]] && mount -u -o 'nordonly' /usr
> >     ....
> >     ...
> >     ..
> >     [[ -n ${_ro_usr} ]] && mount -u -o 'rdonly' /usr
> > }
> > 
> > 
> > Let us know what works for you.  
> 
> Thanks, Craig.  That is much better than what I proposed [1].  I'll update my
> autoinstall accordingly.
> 
> [1]<http://marc.info/?l=openbsd-tech&m=146159002802803&w=2>

Just don't file bug reports for the installer later, when something
moves and your incompatible changes resurface again to bite on your.

Reply via email to