[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rescue mode
Alexander,
Even in Windows 95, it is NOT a kernel issue. IO.SYS/COMMAND.COM handle the
determination by scanning the registery. OSR 2.x runs SCANDISK on improper
shutdown. SysVinit does everything that you need (look in /etc/rc.d for the
files).
----------
> From: Alexander Maryanchick <Sasha@GDev.msk.ru>
> To: linux-future@nl.linux.org
> Subject: Re: Rescue mode
> Date: Sunday, March 07, 1999 10:24 AM
>
> >> - to show rescue menu only in two cases:
> >> - The previous boot failed.
> > Define "failed".
> Two (or more) variants (analogs for "FS was not cleanly unmounted"):
> - Crashed. (Flag "ShutdownSuccessful" is not set)
> - Flag "BootSuccessful" is not set. (For example, login, xdm,... not
crashed
> in 5 second)
> A kernel issue!
>
> >> - to have always ready to use system image (kernel, startup scripts,
> etc.).
> > A distribution issue.
> Nope. See below.
> >> - updated automaticaly after every successful configuration change.
> A kernel issue. It requires reliable "BootSuccessful" flag.
No.
> > Define "successful configuration change".
> 1. Critical files was changed (not the same in root and rescue image)
> 2. At least one boot was not failed (the definition was given ealier)
>
> Mustdie(TM) uses another method.
> In rescue mode it ignores non-critical conf. files (autoexec) at boot and
at
> run time
> and non-critical drivers (recognized by flags in header).
> This way is also a kernel issue.
Wrong. Windows 95 doesn't even need autoexec.bat/config.sys to run all the
hardware installed in the computer as long as you have protected-mode
drivers.
> > Given a definition, I am sure you can easily implement a method to copy
> > whatever you consider to be the necessary configuration information to
> > wherever LILO knows to look for it.
> Yes, I can implement an ugly hack, but I can not implement
> even 100% of windows rescue mode functionality. Am I wrong?
> IMHO, if feature is worse then in mustdie - then the feature is absent.
As I said above, sysvinit already does it
>
> Thank you.
> Best regards.
>
> Alexander.
>
> -
> Linux-future: thinking about the future of the Linux kernel
> Archive: http://humbolt.nl.linux.org/lists/
> Wish list: http://users.ox.ac.uk/~mert0236/linux-future.html
-
Linux-future: thinking about the future of the Linux kernel
Archive: http://humbolt.nl.linux.org/lists/
Wish list: http://users.ox.ac.uk/~mert0236/linux-future.html