fs

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

commit 0305dfaa2e22906733dd46db0e97525a72046987
parent 6019d5c45234d68f3408a13eaaf61b0b694c203c
Author: sin <sin@2f30.org>
Date:   Tue, 18 Mar 2014 16:08:07 +0200

Mount procfs, sysfs etc. with proper options

Diffstat:
Mbin/rc.init | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/rc.init b/bin/rc.init @@ -16,8 +16,11 @@ echo # Soft reboot on ctrl-alt-del ctrlaltdel -s -mount -n -t proc proc /proc -mount -n -t sysfs sysfs /sys +mkdir -p /proc +mkdir -p /sys +mount -n -t proc -o nosuid,noexec,nodev proc /proc +mount -n -t sysfs -o nosuid,noexec,nodev sysfs /sys + mount -n -t tmpfs -o nosuid,mode=0755 dev /dev mkdir -p /dev/pts mount -n -t devpts -o gid=5,mode=0620 devpts /dev/pts