X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Fmountkernfs;h=a81cf626a891be01b79e33c8f07ad745e87965a2;hb=0d0d7090b3b9f64c6ca0c6708b2f4c73f4551689;hp=6c377a6341267c3ddc28bfa1e1b1f089f2ff7d92;hpb=97b938a7a341fe0d45ba4f93ce9e785b2bdc182a;p=hvlinux.git diff --git a/stage1/bootscripts/mountkernfs b/stage1/bootscripts/mountkernfs index 6c377a6..a81cf62 100755 --- a/stage1/bootscripts/mountkernfs +++ b/stage1/bootscripts/mountkernfs @@ -7,11 +7,14 @@ 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 /run" mount /run ;; stop)