Re: [PATCH 4/4] Add some predefined break points.

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

 



This may be a 'naive idea' but would it be possible to have an
argument that makes Ctrl-C (or something) works

Case in point: things that take a long time to (or will never)
timeout. Supppose someone is booting from NFS and the server is down,
or changed ip. Murphy says you're going to forget to change it until
you're there waiting for it. Or maybe it's something else that's
problematic and you want to debug.

Just an idea.



On Sun, Mar 1, 2009 at 12:07 PM, maximilian attems <max@xxxxxxx> wrote:
> On Fri, 27 Feb 2009, Victor Lowther wrote:
>
>> On Thu, 2009-02-26 at 15:04 +0100, Bogdan Costescu wrote:
>> > On Wed, 25 Feb 2009, Victor Lowther wrote:
>> >
>> > > +getarg 'break=pre-udev' && emergency_shell
>> >
>> > I would like to suggest doing something different: look for the value
>> > of the 'break' parameter at the very beginning and save it in a
>> > variable such that it would be possible to modify it in the shell run
>> > for the breakpoint to point to a later breakpoint - this way one can
>> > do a gradual checking of the initramfs progress by going from one
>> > breakpoint to the next.
>>
>> Not a bad idea.  I will code something up for this.
>
> right as this is initramfs-tools inspired, we use a variable
> and have those predefined breakpoints:
> (top, modules, premount, mount, mountroot, bottom, init).
>
> --
> maks
>
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
-
Thiago Galesi
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux