[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YxGazit2XS/YZlZZ@kroah.com>
Date: Fri, 2 Sep 2022 07:55:26 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Petr Vorel <pvorel@...e.cz>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Eric Biederman <ebiederm@...ssion.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
David Sterba <dsterba@...e.com>
Subject: Re: [PATCH v3 1/1] kernel/utsname_sysctl.c: Print kernel arch
On Thu, Sep 01, 2022 at 09:44:03PM +0200, Petr Vorel wrote:
> Print the machine hardware name (UTS_MACHINE) in /proc/sys/kernel/arch.
>
> This helps people who debug kernel with initramfs with minimal
> environment (i.e. without coreutils or even busybox) or allow to open
> sysfs file instead of run 'uname -m' in high level languages.
>
> Signed-off-by: Petr Vorel <pvorel@...e.cz>
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists