----
+**rd.usrmount.ro**:
+ force mounting _/usr_ read-only. Use this option if your init system
+ performs remount of _/usr_ the same as it does with rootfs.
+
+
Misc
~~~~
**rd.driver.blacklist=**_<drivername>[,<drivername>,...]_::
_ret=$?
echo $_ret >/run/initramfs/usr-fsck
if [ $_ret -ne 255 ]; then
- info "Mounting /usr"
- mount "$NEWROOT/usr" 2>&1 | vinfo
+ if getargbool 0 rd.usrmount.ro; then
+ info "Mounting /usr (read-only forced)"
+ mount -r "$NEWROOT/usr" 2>&1 | vinfo
+ else
+ info "Mounting /usr"
+ mount "$NEWROOT/usr" 2>&1 | vinfo
+ fi
fi
fi
}