From: Avery, Brian Date: Tue, 6 Sep 2005 22:16:56 +0000 (-0700) Subject: [PATCH] Add warning `init=' to init/main.c X-Git-Tag: v2.6.14-rc1~713 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1d7ef70a71eb54fb389a9a411d331661be73056;p=pandora-kernel.git [PATCH] Add warning `init=' to init/main.c I passed init=/mylinuxrc to the kernel on the command line. The kernel silently dropped down to exec /sbin/init. It turned out that /mylinuxrc had improper permissions. Without any warning message from the kernel that something was wrong it took awhile to find the issue. The patch below adds a warning. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed