On 7/2/17 1:38 PM, Theo de Raadt wrote:
> Remounting a filesystem?
> 
> I don't agree with that approach.  It adds way too much complexity.

It's similar to the remount when /usr/lib is on a read-only partition
as in _reorder_libs():

arp42:build/packages 504>grep -n -A8 'read-write' /etc/rc
182:    # Remount read-write, if /usr/lib is on a read-only ffs filesystem.
183-    if [[ $_mp == *' type ffs '*'read-only'* ]]; then
184-            if mount -u -w $_dkdev; then
185-                    _remount=true
186-            else
187-                    echo ' failed.'
188-                    return
189-            fi
190-    fi

Reply via email to