[systemd-devel] [PATCH] tty: Set correct tty name in 'active' sysfs attribute
Greg KH
gregkh at linuxfoundation.org
Wed Feb 5 08:38:16 PST 2014
On Wed, Feb 05, 2014 at 11:11:46AM +0100, Hannes Reinecke wrote:
> The 'active' sysfs attribute should refer to the currently
> active tty devices the console is running on, not the currently
> active console.
> The console structure doesn't refer to any device in sysfs,
> only the tty the console is running on has.
> So we need to print out the tty names in 'active', not
> the console names.
>
> Cc: Lennart Poettering <lennart at poettering.net>
> Cc: Kay Sievers <kay at vrfy.org>
> Signed-off-by: Werner Fink <werner at suse.de>
> Signed-off-by: Hannes Reinecke <hare at suse.de>
> ---
> drivers/tty/tty_io.c | 14 ++++++++++++--
> 1 file changed, 12 insertions(+), 2 deletions(-)
Would have been nice to actually cc: the tty maintainer(s) :(
scripts/get_maintainer.pl is your friend...
greg k-h
More information about the systemd-devel
mailing list