Remove 256k limit on initlog tmpfs
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 20 Aug 2013 02:08:48 +0000 (22:08 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 24 Aug 2013 03:33:55 +0000 (23:33 -0400)
On one occasion, the 256k limit was reached.

Also removed inode limit.

stage1/bootscripts/initlog

index 71bc0da..9cde2d0 100755 (executable)
@@ -11,21 +11,21 @@ case "$1" in
        if [ ! -d ${INIT_LOG_PATH} ]; then
            boot_failure "Missing ${INIT_LOG_PATH} directory."
        fi
-       
-       mount -t tmpfs -o size=256k,nr_inodes=10,mode=0755 tmpfs ${INIT_LOG_PATH} &&
+
+       mount -t tmpfs -o mode=0755 tmpfs ${INIT_LOG_PATH} &&
         touch ${INIT_LOG_FILE}
        ;;
-    
+
     stop)
         umount ${INIT_LOG_PATH}
        ;;
-    
+
     restart)
        $0 stop
        sleep 1
        $0 start
        ;;
-    
+
     *)
        echo "Usage: $0 {start|stop|restart}"
         exit ${EXIT_CODE_FAILURE}