Re: [PATCH] vt: add init_hide parameter to suppress boot output

From: Jiri Slaby
Date: Tue Feb 19 2013 - 07:31:50 EST


On 02/19/2013 10:38 AM, Kirill A. Shutemov wrote:
> From: Andy Ross <andy.ross@xxxxxxxxxxxxx>
>
> When vt.init_hide=1 is set, suppress output on newly created consoles
> until an affirmative switched to that console. This prevents boot
> output from displaying (and clobbering splash screens, etc...) without
> disabling the console entirely.
>
> Signed-off-by: Andy Ross <andy.ross@xxxxxxxxxxxxx>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> ---
> drivers/tty/vt/vt.c | 7 +++++++
> include/linux/console_struct.h | 3 ++-
> include/linux/vt.h | 2 ++
> kernel/power/console.c | 2 --
> 4 files changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index 8fd8968..3966ff5 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -165,6 +165,9 @@ module_param(global_cursor_default, int, S_IRUGO | S_IWUSR);
> static int cur_default = CUR_DEFAULT;
> module_param(cur_default, int, S_IRUGO | S_IWUSR);
>
> +static int init_hide;
> +module_param(init_hide, int, S_IRUGO);

So this should actually be a bool, right? Could you change that
appropriately?

thanks,
--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/