From ba97db07a5bcbc5c0db2241a2f8ac4117d05c8f3 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 7 Feb 2010 21:57:45 +0100 Subject: Honor the rootflags= command line option This fixes FS#18213. --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init b/init index cfa6c75..6a78965 100644 --- a/init +++ b/init @@ -158,7 +158,7 @@ if [ -z "${nfsroot}" -a "${root}" != "/dev/nfs" ]; then else fstype=$(eval $(/sbin/blkid -o udev -p "${root}"); echo $ID_FS_TYPE) fi - mount ${fstype:+-t ${fstype}} -o ro "${root}" /new_root + mount ${fstype:+-t ${fstype}} -o ro${rootflags:+,${rootflags}} "${root}" /new_root else # TODO: Actually implement this err "Mounting NFS root is not implemented yet." -- cgit v1.2.3-24-g4f1b