Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-22 Thread Dave Young
> I can't do anything about dracut. (Otherwise userspace could look at > ROOT= which is not parsed by existing kernel code to have a special > meaning...) The root= requirement for dracut is not necessary just there's no one is working on removing the limitation. I think that is not the key

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-22 Thread Rob Landley
On 12/18/13 20:35, Dave Young wrote: On Wed, Dec 18, 2013 at 11:51:30AM -0600, Rob Landley wrote: On 12/12/13 20:38, Dave Young wrote: On 12/12/13 at 05:25pm, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs,

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-22 Thread Rob Landley
On 12/18/13 20:35, Dave Young wrote: On Wed, Dec 18, 2013 at 11:51:30AM -0600, Rob Landley wrote: On 12/12/13 20:38, Dave Young wrote: On 12/12/13 at 05:25pm, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs,

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-22 Thread Dave Young
I can't do anything about dracut. (Otherwise userspace could look at ROOT= which is not parsed by existing kernel code to have a special meaning...) The root= requirement for dracut is not necessary just there's no one is working on removing the limitation. I think that is not the key problem

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-18 Thread Dave Young
On Wed, Dec 18, 2013 at 11:51:30AM -0600, Rob Landley wrote: > > > On 12/12/13 20:38, Dave Young wrote: > >On 12/12/13 at 05:25pm, Dave Young wrote: > >> > >>Current code use ramfs instead of tmpfs for stub when root= defined. > >> > >>But for real use case with initramfs, usually there's like

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-18 Thread Rob Landley
On 12/12/13 20:38, Dave Young wrote: On 12/12/13 at 05:25pm, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs, usually there's like cmdline like root=UUID=$UUID the root dev is the real device. For that case we have

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-18 Thread Rob Landley
On 12/12/13 20:38, Dave Young wrote: On 12/12/13 at 05:25pm, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs, usually there's like cmdline like root=UUID=$UUID the root dev is the real device. For that case we have

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-18 Thread Dave Young
On Wed, Dec 18, 2013 at 11:51:30AM -0600, Rob Landley wrote: On 12/12/13 20:38, Dave Young wrote: On 12/12/13 at 05:25pm, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs, usually there's like cmdline like

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-12 Thread Dave Young
On 12/12/13 at 05:25pm, Dave Young wrote: > > Current code use ramfs instead of tmpfs for stub when root= defined. > > But for real use case with initramfs, usually there's like cmdline like > root=UUID=$UUID the root dev is the real device. For that case we have > no way to use initmpfs, thus

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-12 Thread Dave Young
On Thu, Dec 12, 2013 at 05:25:42PM +0800, Dave Young wrote: > > Current code use ramfs instead of tmpfs for stub when root= defined. > > But for real use case with initramfs, usually there's like cmdline like > root=UUID=$UUID the root dev is the real device. For that case we have > no way to

[PATCH] use initmpfs even if there's root= cmdline

2013-12-12 Thread Dave Young
Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs, usually there's like cmdline like root=UUID=$UUID the root dev is the real device. For that case we have no way to use initmpfs, thus this patch removes the limitation so tmpfs can benefit

[PATCH] use initmpfs even if there's root= cmdline

2013-12-12 Thread Dave Young
Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs, usually there's like cmdline like root=UUID=$UUID the root dev is the real device. For that case we have no way to use initmpfs, thus this patch removes the limitation so tmpfs can benefit

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-12 Thread Dave Young
On Thu, Dec 12, 2013 at 05:25:42PM +0800, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs, usually there's like cmdline like root=UUID=$UUID the root dev is the real device. For that case we have no way to use

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-12 Thread Dave Young
On 12/12/13 at 05:25pm, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs, usually there's like cmdline like root=UUID=$UUID the root dev is the real device. For that case we have no way to use initmpfs, thus this