fs

morpheus filesystem files
git clone git://git.2f30.org/fs.git
Log | Files | Refs

commit ade9ae17ce7bf28fdf2d93bf45323813a2cde2dd
parent 303cae6b29759c3fd816ccabb603d71d8c90e089
Author: sin <sin@2f30.org>
Date:   Sun, 16 Feb 2014 18:44:54 +0000

Mount root as rw at boot time

Diffstat:
bin/rc.init | 7+++----
bin/rc.shutdown | 2+-
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/bin/rc.init b/bin/rc.init @@ -11,14 +11,13 @@ echo # Soft reboot on ctrl-alt-del ctrlaltdel -s -echo Mounting filesystems -mkdir -p /dev/pts /dev/shm -mkdir -p /sys -mkdir -p /proc mount -n -t proc proc /proc mount -n -t sysfs sysfs /sys mount -n -t devpts devpts /dev/pts +echo Remounting root as read-write +mount -o remount,rw / + grep -q " verbose" /proc/cmdline && dmesg -n 8 || dmesg -n 3 echo Running smdev diff --git a/bin/rc.shutdown b/bin/rc.shutdown @@ -26,7 +26,7 @@ killall5 -9 echo Storing random seed dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2>/dev/null -echo Mounting root read-only +echo Remounting root as read-only mount -o remount,ro / sync