* rdshell and rdbreak
@ 2011-09-29 6:43 Dave Young
[not found] ` <4E8413A6.2090804-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Young @ 2011-09-29 6:43 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
Hi,
For kernel developers sometimes boot-test need a minimal initrd, so just
drop into a shell is a nice feature.
The first impression of param 'rdshell' to me is it will drop me into a
shell, but It doesn't. It drop into shell only when initramfs fails.
The rdbreak is more near what I want, but it still fails when no root
args set in cmdline.
IMO initrd can provide such options at least: dropping into shell
without mount rootfs, user can mount by himself or do other things.
Thus, if it make sense how about add a:
rdbreak=force
OTOH, rdshell can be merged into rdbreak as:
rdbreak=fail
Any comments about this?
--
Thanks
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rdshell and rdbreak
[not found] ` <4E8413A6.2090804-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-09-29 8:24 ` Harald Hoyer
[not found] ` <4E842B3C.4080707-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Harald Hoyer @ 2011-09-29 8:24 UTC (permalink / raw)
To: Dave Young; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 09/29/2011 08:43 AM, Dave Young wrote:
> Hi,
>
> For kernel developers sometimes boot-test need a minimal initrd, so just
> drop into a shell is a nice feature.
>
> The first impression of param 'rdshell' to me is it will drop me into a
> shell, but It doesn't. It drop into shell only when initramfs fails.
>
> The rdbreak is more near what I want, but it still fails when no root
> args set in cmdline.
>
> IMO initrd can provide such options at least: dropping into shell
> without mount rootfs, user can mount by himself or do other things.
>
> Thus, if it make sense how about add a:
> rdbreak=force
>
> OTOH, rdshell can be merged into rdbreak as:
> rdbreak=fail
>
> Any comments about this?
what about "rdshell rdbreak=cmdline" or
in new syntax "rd.shell=1 rd.break=cmdline" ??
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rdshell and rdbreak
[not found] ` <4E842B3C.4080707-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-09-29 9:20 ` Dave Young
[not found] ` <4E843879.9010000-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Young @ 2011-09-29 9:20 UTC (permalink / raw)
To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 09/29/2011 04:24 PM, Harald Hoyer wrote:
> On 09/29/2011 08:43 AM, Dave Young wrote:
>> Hi,
>>
>> For kernel developers sometimes boot-test need a minimal initrd, so just
>> drop into a shell is a nice feature.
>>
>> The first impression of param 'rdshell' to me is it will drop me into a
>> shell, but It doesn't. It drop into shell only when initramfs fails.
>>
>> The rdbreak is more near what I want, but it still fails when no root
>> args set in cmdline.
>>
>> IMO initrd can provide such options at least: dropping into shell
>> without mount rootfs, user can mount by himself or do other things.
>>
>> Thus, if it make sense how about add a:
>> rdbreak=force
>>
>> OTOH, rdshell can be merged into rdbreak as:
>> rdbreak=fail
>>
>> Any comments about this?
>
> what about "rdshell rdbreak=cmdline" or
> in new syntax "rd.shell=1 rd.break=cmdline" ??
Thanks for comment, harald
I think it's still not so convenience to use two params for this issue,
and 'cmdline' also looks a little confuse for me. But it's up to you so
long as we can managed to have this feature.
--
Thanks
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rdshell and rdbreak
[not found] ` <4E843879.9010000-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-09-29 9:42 ` Dave Young
[not found] ` <4E843D6B.9040302-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Young @ 2011-09-29 9:42 UTC (permalink / raw)
To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 09/29/2011 05:20 PM, Dave Young wrote:
> On 09/29/2011 04:24 PM, Harald Hoyer wrote:
>
>> On 09/29/2011 08:43 AM, Dave Young wrote:
>>> Hi,
>>>
>>> For kernel developers sometimes boot-test need a minimal initrd, so just
>>> drop into a shell is a nice feature.
>>>
>>> The first impression of param 'rdshell' to me is it will drop me into a
>>> shell, but It doesn't. It drop into shell only when initramfs fails.
>>>
>>> The rdbreak is more near what I want, but it still fails when no root
>>> args set in cmdline.
>>>
>>> IMO initrd can provide such options at least: dropping into shell
>>> without mount rootfs, user can mount by himself or do other things.
>>>
>>> Thus, if it make sense how about add a:
>>> rdbreak=force
>>>
>>> OTOH, rdshell can be merged into rdbreak as:
>>> rdbreak=fail
>>>
>>> Any comments about this?
>>
>> what about "rdshell rdbreak=cmdline" or
>> in new syntax "rd.shell=1 rd.break=cmdline" ??
>
>
> Thanks for comment, harald
>
> I think it's still not so convenience to use two params for this issue,
> and 'cmdline' also looks a little confuse for me. But it's up to you so
> long as we can managed to have this feature.
Just tested, It works gracefully, thanks
see cmdline means break before cmdline, It is clear enough also
--
Thanks
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rdshell and rdbreak
[not found] ` <4E843D6B.9040302-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-09-29 9:44 ` Dave Young
0 siblings, 0 replies; 5+ messages in thread
From: Dave Young @ 2011-09-29 9:44 UTC (permalink / raw)
To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 09/29/2011 05:42 PM, Dave Young wrote:
> On 09/29/2011 05:20 PM, Dave Young wrote:
>
>> On 09/29/2011 04:24 PM, Harald Hoyer wrote:
>>
>>> On 09/29/2011 08:43 AM, Dave Young wrote:
>>>> Hi,
>>>>
>>>> For kernel developers sometimes boot-test need a minimal initrd, so just
>>>> drop into a shell is a nice feature.
>>>>
>>>> The first impression of param 'rdshell' to me is it will drop me into a
>>>> shell, but It doesn't. It drop into shell only when initramfs fails.
>>>>
>>>> The rdbreak is more near what I want, but it still fails when no root
>>>> args set in cmdline.
>>>>
>>>> IMO initrd can provide such options at least: dropping into shell
>>>> without mount rootfs, user can mount by himself or do other things.
>>>>
>>>> Thus, if it make sense how about add a:
>>>> rdbreak=force
>>>>
>>>> OTOH, rdshell can be merged into rdbreak as:
>>>> rdbreak=fail
>>>>
>>>> Any comments about this?
>>>
>>> what about "rdshell rdbreak=cmdline" or
>>> in new syntax "rd.shell=1 rd.break=cmdline" ??
>>
>>
>> Thanks for comment, harald
>>
>> I think it's still not so convenience to use two params for this issue,
>> and 'cmdline' also looks a little confuse for me. But it's up to you so
>> long as we can managed to have this feature.
>
>
> Just tested, It works gracefully, thanks
>
> see cmdline means break before cmdline, It is clear enough also
>
BTW, The fedora wiki is outdated :)
--
Thanks
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-09-29 9:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-29 6:43 rdshell and rdbreak Dave Young
[not found] ` <4E8413A6.2090804-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-09-29 8:24 ` Harald Hoyer
[not found] ` <4E842B3C.4080707-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-09-29 9:20 ` Dave Young
[not found] ` <4E843879.9010000-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-09-29 9:42 ` Dave Young
[not found] ` <4E843D6B.9040302-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-09-29 9:44 ` Dave Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox