Am Dienstag, 10. Juni 2008 18:15:45 schrieb Tzafrir Cohen: > On Tue, Jun 10, 2008 at 05:40:12PM +0200, Dexter Filmore wrote: > > Encountered an oddity on a headless machine with etch r3: > > > > When the system is booted, kernel messages are put on tty1. > > They actually go to /dev/tty (your "current" console). > > > Since this is the > > terminal I login to after it's booted this is highly annoying since my > > screen is garbled when I run scripts and the kernel messages me about... > > mounted disks or plugged ethernet cables etc. > > I've never seen this with other distros afair, Slackware puts ll its > > kernel output on tty8 for example. I'd like to have that here, too. > > Can do? > > setlogcons . > > You'll have to open(8) that terminal first, I believe. > > I use in a certian init.d script: > > > CONSOLE=10 > openvt -c "$CONSOLE" -- /bin/true || true > setlogcons "$CONSOLE" || true >
What's it with the "true"? -- -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K- w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ b++(+++) DI+++ D- G++ e* h>++ r* y? ------END GEEK CODE BLOCK------ http://www.vorratsdatenspeicherung.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

