lkml.org 
[lkml]   [1996]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: funny terminal behavior
Date
From
> 
> I have discovered something very funny.
>
> Log in from the console, serial terminal (I haven't tried modem) or from the
> network.
>
> $ cat big-file
>
> immediately press Ctrl-S
>
> and now you can't shutdown system until you press Ctrl-Q
>
> After Alt-Ctl-Del you can continue your work.
> ps shows:
>
> PID TTY STAT TIME COMMAND
> 176 ? D 0:00 /sbin/shutdown -t3 -rf now
>
>
> I'm not sure if it proper behavior.....

It has nothing to do with the kernel, it is your shutdown
that is broken. It tries to send a message to each user and will
block. Try a newer version of shutdown (util-linux-2.5).
This version opens the tty nonblocking.

>
> Bye,
>
> Jacek
>
> PS. Same in 1.2.13, 2.0.0, 2.0.3
>
>

calle
--
calle@calle.in-berlin.de


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.031 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site