OLPC would like to be able to disable this behaviour through a custom dracut module. Add a "no_fstab_remount" flag which can be set by modules that want to disable this functionality. (Background: having the correct rootfs info in /etc/fstab is a bit of a challenge for OLPC, because this info is not known at build time.) --- modules.d/95rootfs-block/mount-root.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/modules.d/95rootfs-block/mount-root.sh b/modules.d/95rootfs-block/mount-root.sh index ff64209..7602731 100755 --- a/modules.d/95rootfs-block/mount-root.sh +++ b/modules.d/95rootfs-block/mount-root.sh @@ -73,6 +73,7 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then rootopts= if getargbool 1 rd.fstab -n rd_NO_FSTAB \ && ! getarg rootflags \ + && [ -z "$no_fstab_remount" ] \ && [ -f "$NEWROOT/etc/fstab" ] \ && ! [ -L "$NEWROOT/etc/fstab" ]; then # if $NEWROOT/etc/fstab contains special mount options for -- 1.7.3.2 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html