rdshell and rdbreak
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?
Signature · 2 lines
Thanks Dave
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Dave Young
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.
Quoted 7 lines
Thus, if it make sense how about add a:
rdbreak=forceOTOH, rdshell can be merged into rdbreak as:
rdbreak=failAny comments about this?
what about "rdshell rdbreak=cmdline" or
in new syntax "rd.shell=1 rd.break=cmdline" ??
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 18 lines · Harald Hoyer
Quoted 17 lines · Dave Young
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
Quoted 7 lines
Quoted 4 lines
OTOH, rdshell can be merged into rdbreak as:
rdbreak=failAny 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.
Signature · 2 lines
Thanks Dave
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 29 lines · Dave Young
Quoted 18 lines · Harald Hoyer
Quoted 17 lines · Dave Young
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=forceQuoted 7 lines
Quoted 4 lines
OTOH, rdshell can be merged into rdbreak as:
rdbreak=failAny comments about this?
what about "rdshell rdbreak=cmdline" or
in new syntax "rd.shell=1 rd.break=cmdline" ??
Quoted 5 lines
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
Signature · 2 lines
Thanks Dave
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 33 lines · Dave Young
Quoted 31 lines · Dave Young
Quoted 18 lines · Harald Hoyer
Quoted 17 lines · Dave Young
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=forceQuoted 7 lines
Quoted 4 lines
OTOH, rdshell can be merged into rdbreak as:
rdbreak=failAny comments about this?
what about "rdshell rdbreak=cmdline" or
in new syntax "rd.shell=1 rd.break=cmdline" ??Thanks for comment, harald
Quoted 9 lines
Quoted 3 lines
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 :)
Signature · 2 lines
Thanks Dave