tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /rescue/init for alternative (Re: CVScommit:src/share/man/man8)



joerg%britannica.bec.de@localhost wrote:

> On Mon, Oct 27, 2008 at 08:54:51AM +0900, Izumi Tsutsui wrote:
> > What's the difference from the prompts for mountroot and file system type?
> 
> Neither is active by default.

All of them are activated (only) on failure by default:

>> revision 1.95
>> date: 1997/01/31 02:25:47;  author: thorpej;  state: Exp;  lines: +16 -7
 :
>> - Don't panic if we can't mount root.  Instead, set RB_ASKNAME and
>>   call setroot(), which will prompt the operator for the root device
>>   and file system type.

>> revision 1.370
>> date: 2008/10/25 15:40:59;  author: tsutsui;  state: Exp;  lines: +17 -4
>> - if no usable init(8) program (listed in *initpaths[]) can be found,
>>   set the RB_ASKNAME flag and prompt users for the init path, rather than
>>   panicking with "no init".

> > How can you prevent him to do everything on fsck failure?
> 
> init(8) is supposed to ask for the root password?

But not yet.

> > How can you prevent ddb prompt on panic by default?
> 
> ddb can be disabled as well.

But not by default.
You can also change those prompts optional if you really require it.
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index