--force loads a new kexec'able kernel and kexec's to this kernel
immediately without returning and giving user a chance to do a clean
shutdown. In effect it does "kexec -l" immediately followed by "kexec
-e". Normally one would kexec a kernel by first loading it with "kexec
-l". Then one would modify /etc/init.d/reboot to call "kexec -e",
execute a reboot command to shutdown cleanly and kexec the new kernel.

I will clarify this in the man page in the next version.

--
Khalid

On Fri, 2005-12-23 at 01:08 +0100, Matthijs Kooijman wrote:
> Package: kexec-tools
> Version: 1.101-2
> Severity: minor
> 
> Hey,
> 
> according to the man page, kexec has a --force option which will "Force an
> immediate kexec without calling shutdown". This implies that without --force,
> calling kexec -e will call shutdown to change to runlevel 6 and do a proper
> shutdown.
> 
> My first try with kexec showed that kexec -e will do just that, trashing a few
> filesystems along the way...
> 
> I'm not really sure what the --force option really does, but it's not clear
> right now.
> 
> Matthijs
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.14.4
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> 
> Versions of packages kexec-tools depends on:
> ii  libc6                         2.3.5-9    GNU C Library: Shared libraries 
> an
> 
> kexec-tools recommends no packages.
> 
> -- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to