X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Fmountkernfs;fp=stage1%2Fbootscripts%2Fmountkernfs;h=a81cf626a891be01b79e33c8f07ad745e87965a2;hb=3fb13cf968ef5335a9d22601dfdcddd7189207a8;hp=6c377a6341267c3ddc28bfa1e1b1f089f2ff7d92;hpb=9252b914495c96a2b323f1dbec5fa075a280c380;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)