[arch-projects] [initscripts][PATCH 1/4] use systemd-remount-fs to remount root

Dave Reisner dreisner at archlinux.org
Fri Jun 8 10:58:46 EDT 2012


This has the added bonus of scanning /etc/fstab and remounting API
filesystems should they be explicitly defined with extra options.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 rc.sysinit |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index 876542a..58f3216 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -119,8 +119,8 @@ run_hook sysinit_postfsck
 # Single-user login and/or automatic reboot if needed
 fsck_reboot $fsckret
 
-status "Remounting Root" \
-	mount -o remount /
+status "Remounting Root and API filesystems" \
+	/usr/lib/systemd/systemd-remount-fs
 
 # now mount all the local filesystems
 run_hook sysinit_premount
-- 
1.7.10.4



More information about the arch-projects mailing list