X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Fmountkernfs;h=e0552afc4f3fd33f4f48bfbd25b4516f544518d6;hb=ff51e86b74e8e6256f01eca359b5b7b8c570b68d;hp=6c377a6341267c3ddc28bfa1e1b1f089f2ff7d92;hpb=97b938a7a341fe0d45ba4f93ce9e785b2bdc182a;p=hvlinux.git diff --git a/stage1/bootscripts/mountkernfs b/stage1/bootscripts/mountkernfs index 6c377a6..e0552af 100755 --- a/stage1/bootscripts/mountkernfs +++ b/stage1/bootscripts/mountkernfs @@ -7,11 +7,15 @@ source /etc/rc.d/init.d/functions case "$1" in start) + # /dev is automatically mounted by the kernel + # The "-n: option tells mount not to write to the /etc/mtab # file (because /etc/mtab is a symbolic link to /proc/mounts, # which we are in the process of mounting). - cmd_run_log_box "Mounting /proc file system" mount -n proc - cmd_run_log_box "Mounting /sys file system" mount sys + cmd_run_log_box "Mounting /proc" mount -n /proc + cmd_run_log_box "Mounting /sys" mount /sys + cmd_run_log_box "Mounting /tmp" mount /tmp + cmd_run_log_box "Mounting /run" mount /run ;; stop)