[arch-general] [PATCH 44/48] Save error messages to /dev/tty9.
Thomas Bächler
thomas at archlinux.org
Fri Jul 16 08:09:01 EDT 2010
Am 30.06.2010 23:47, schrieb Victor Lowther:
> ---
> functions | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/functions b/functions
> index 9ec8b5e..f1dce8a 100644
> --- a/functions
> +++ b/functions
> @@ -4,6 +4,10 @@
>
> # width:
>
> +grep -q initdebug && {
> + exec 2>/dev/tty9
> +}
> +
> STAT_COL=80
> if [[ ! -t 1 ]]; then
> USECOLOR=""
Apart from Kurt's comment:
Won't this cause errors to be omitted from the console? I'd much rather
implement a full boot logging using bootlogd, but last time I tried, it
was broken. Redirecting stderr away from the normal output seems
unhelpful, and unecessary.
I'd much rather omit this in favor of a patch that adds proper boot
logging, which is a feature we really need.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100716/168123e6/attachment.bin>
More information about the arch-general
mailing list