Fixed erroneous comment in udev script
[hvlinux.git] / stage1 / bootscripts / mountkernfs
index 6c377a6..263e4ff 100755 (executable)
@@ -7,19 +7,19 @@ 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)
-       umount -n proc
-        ;;
-
     *)
-        echo "Usage: $0 {start|stop}"
+        echo "Usage: $0 {start}"
         exit ${EXIT_CODE_FAILURE}
        ;;
 esac