Linux 2.4.19 patch for Suse compatibility
A message that is not in the archive (sent off-list or not yet received): 4.3.2.7.2.20021119122403.00b50d70@mail.dns-host.com.suse.lists.linux.kernel
A message that is not in the archive (sent off-list or not yet received): 1037710510.11563.5.camel@irongate.swansea.linux.org.uk.suse.lists.linux.kernel
Quoted 8 lines · Alan Cox
Quoted 4 lines · Margit Schubert-While
Hi,
Below is a patch to include an ioctl that Suse kernels use at bootup. (Against vanilla 2.4.19) Comments ? Can it be included in 2.4.20(-rc*) ?This was discussed on the kernel list about four to six weeks ago and rejected then as well. See the previous discussion
Actually I don't remember it being rejected, just the discussion dropped off and there was no suggestion on how to solve the problem this ioctl solves in a better way.
The jury is still out on that one.
-Andi
Quoted 8 lines · Andi Kleen
Quoted 2 lines · Alan Cox
This was discussed on the kernel list about four to six weeks ago and rejected then as well. See the previous discussion
Actually I don't remember it being rejected, just the discussion dropped off and there was no suggestion on how to solve the problem this ioctl solves in a better way.
So, what problem does it try to solve ?
Rik
Signature · 4 lines
A: No. Q: Should I include quotations after my reply? http://www.surriel.com/ http://distro.conectiva.com/
Quoted 11 lines · Rik van Riel
Quoted 8 lines · Andi Kleen
Quoted 2 lines · Alan Cox
This was discussed on the kernel list about four to six weeks ago and rejected then as well. See the previous discussion
Actually I don't remember it being rejected, just the discussion dropped off and there was no suggestion on how to solve the problem this ioctl solves in a better way.
So, what problem does it try to solve ?
The output of all the startup scripts is logged by a special daemon to a log file (blogd). It does this by redirecting /dev/console.
For it to be able to still output something to the screen and later resetting the console it needs to know the output device that /dev/console maps to. The ioctl returns it.
There is actually a fallback path that tries to discover the underlying device when the ioctl is not there, but it is far too ugly to describe and also has some problems.
-Andi
Quoted 11 lines · Rik van Riel
Quoted 8 lines · Andi Kleen
Quoted 2 lines · Alan Cox
This was discussed on the kernel list about four to six weeks ago and rejected then as well. See the previous discussion
Actually I don't remember it being rejected, just the discussion dropped off and there was no suggestion on how to solve the problem this ioctl solves in a better way.
So, what problem does it try to solve ?
how can you find the real device behind /dev/console without such ioctl? An userspace hack watching /proc/cmdline wouldn't be reliable.
Andrea