From d0a46aa214b68ecfc54e0ebae31063db90b4e3df Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 19 Aug 2013 22:08:48 -0400 Subject: [PATCH] Remove 256k limit on initlog tmpfs On one occasion, the 256k limit was reached. Also removed inode limit. --- stage1/bootscripts/initlog | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stage1/bootscripts/initlog b/stage1/bootscripts/initlog index 71bc0da..9cde2d0 100755 --- a/stage1/bootscripts/initlog +++ b/stage1/bootscripts/initlog @@ -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} -- 2.20.1