Re: tty: add 'active' sysfs attribute to tty0 and console device

From: Dr. Werner Fink
Date: Fri Nov 19 2010 - 13:42:05 EST


On Fri, Nov 19, 2010 at 10:02:58AM -0800, Greg KH wrote:
> On Fri, Nov 19, 2010 at 03:47:05PM +0000, Alan Cox wrote:
> > > Currently the bootlogd(8) or blogd(8) parse the kernels command line
> > > and if available do an ioctl TIOCGDEV (not supported by the upstream
> > > kernel), then create a pty/tty pair, do an ioctl TIOCCONS to forward
> >
> > So perhaps the vendors using TIOCGDEV could get off their collective
> > backsides and submit it upstream ?
>
> Heh, that's what started this whole thing :)
>
> I objected to TIOCGDEV going in as it seemed that only suse needed it
> for their boot sequence, and no other distro did which implied that it
> really wasn't necessary.
>
> I'm still not convinced it is needed, and the many thousands of booting
> systems out there without it seem to confirm it...

Uhmm ... just to say it: I've been asked by Fedorea people and also
by Debian people why I had not submitted this patch and I've told
them that I had it done long time ago ;)

It seems to me that there is some demand but most user space
monitoring applications uses workarounds (AFAICR plymouth
uses hard coded VT for boot and shutdown).


Werner

--
System V style init programs - http://savannah.nongnu.org/projects/sysvinit/
--
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/