Subject: Re: shutdown over ssh
To: None <netbsd-users@netbsd.org>
From: Martin Ammermueller <martin81@bnro.de>
List: netbsd-users
Date: 06/07/2001 18:23:37
On Sun, May 20, 2001 at 05:39:39PM +0200, Matthias Buelow wrote:
> Naturally, the ksh prints its prompt when the process group leader from
> the foreground process group exits (and thus control is transferred
> back to the shell.) The other shells should do this aswell, but since
> there's some race condition with "shutdown -r now" as to whether the shell
> gets run before the shutdown child pulls the trigger, maybe it was pure
> chance that you observed this only with the ksh.
All shells I used before never returned to the controlling tty after the
shutdown command. I also think that it's useless that someone can execute
commands like cp and mv after the OS synced the disks.
snafu
Martin
--
victory for hemp!