-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thanks for the quick reply, Jeroen Dekkers wrote: > At Tue, 06 Jun 2006 22:41:17 +0000, > Mario Emmenlauer wrote: >> Hi, >> >> I want grub to become completely silent. Namely I want the >> message 'Press <ESC> to show menu' and the message stating >> the loaded kernel and initrd to disappear. >> >> I need that for hundreds of distributed systems where users >> shouldn't be able to gather information about running services >> (including kernel version and bootloader) for security reasons. >> However, showing a boot-splash without any text would be fine. > > Security through obscurity doesn't work. Surprise surprise, I knew that ;-) However I doubt that has anything to do with this case. But back to topic, there are several cases where you don't want any output on the console, be it simply if there is no graphics card. AFAIK thats the intent of the silent- function in the first place.(?) If I'd provide a patch that would make all *_printf()'s and *_putchar()'s bind to a numeric verbosity-level, would you be willing to include it in grub? Would someone give me a hint on how you'd have me implement that, like maybe through #defines for the severity of a message and then place that in every printf: #define PRINT_LEVEL_ERROR 1 #define PRINT_LEVEL_WARNING 2 [...] grub_printf( int severity, ... message ) { if( severity >= verbosity ) { printf( message ) [...] (Say, a low verbosity could display only errors, a higher level would also show warnings, and the higher it gets the more fancy output would be allowed.) Cheers, Mario -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEhvqQzxGsM4+WvrURAkGgAJkBoHPjgSjDpCqZDJXNiLScZUvfMACeNWR8 BMzLaMel9wgFQCXYMbJbi5c= =tbLs -----END PGP SIGNATURE----- _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub