All of lore.kernel.org
 help / color / mirror / Atom feed
* Some netboot doc cleanups
@ 2009-06-15 20:43 Warren Togami
       [not found] ` <4A36B285.2080905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Warren Togami @ 2009-06-15 20:43 UTC (permalink / raw)
  To: initramfs

https://sourceforge.net/apps/trac/dracut/wiki/commandline
> Configuration in initrd ¶
>
> /conf/conf.d/*
>     command line options can override values set here

What is the intent here?  This is only used from 
modules.d/95iscsi/iscsiroot and nowhere else.

> Network ¶
>
>     * ip=[dhcp|on|any]
>           o get ip from dhcp server from all interfaces
>           o If root=dhcp, loop sequentially through all interfaces (eth0, eth1, ...) and use the first with a valid DHCP root-path.

dhcp and any seem to do the same thing.  Get rid of any?

>     * ip=<interface>:[dhcp|on|any]
>           o get ip from dhcp server on a specific interface
>     * ip=[none|off]
>           o no TCP/IP network

What is the point of this?  When is this ever useful?

>     * ip=<client-IP-number>:<gateway-IP-number>:<netmask>:<client-hostname>:<interface>:[dhcp|on|any|none|off|]
>           o explicit network configuration


> rdbreak=[pre-udev|pre-mount|mount|pre-pivot|]
>     drop the shell on defined breakpoint

It isn't clear from this syntax how to make it break in two particular 
places.  Please clarify.

Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some netboot doc cleanups
       [not found] ` <4A36B285.2080905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2009-06-16  7:39   ` Harald Hoyer
  2009-06-16  8:37   ` Seewer Philippe
  1 sibling, 0 replies; 4+ messages in thread
From: Harald Hoyer @ 2009-06-16  7:39 UTC (permalink / raw)
  To: Warren Togami; +Cc: initramfs

On 06/15/2009 10:43 PM, Warren Togami wrote:
> https://sourceforge.net/apps/trac/dracut/wiki/commandline
>> Configuration in initrd ¶
>>
>> /conf/conf.d/*
>> command line options can override values set here
>
> What is the intent here? This is only used from
> modules.d/95iscsi/iscsiroot and nowhere else.

This is intended to be a mechanism to inject (sensible) configuration files in 
the pregenerated image.

We could use this globally, if more modules need this.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some netboot doc cleanups
       [not found] ` <4A36B285.2080905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  2009-06-16  7:39   ` Harald Hoyer
@ 2009-06-16  8:37   ` Seewer Philippe
       [not found]     ` <4A3759D2.2040101-omB+W0Dpw2o@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Seewer Philippe @ 2009-06-16  8:37 UTC (permalink / raw)
  To: Warren Togami; +Cc: initramfs



Warren Togami wrote:
> https://sourceforge.net/apps/trac/dracut/wiki/commandline
>> Configuration in initrd ¶
>>
>> /conf/conf.d/*
>>     command line options can override values set here
> 
> What is the intent here?  This is only used from 
> modules.d/95iscsi/iscsiroot and nowhere else.
> 
>> Network ¶
>>
>>     * ip=[dhcp|on|any]
>>           o get ip from dhcp server from all interfaces
>>           o If root=dhcp, loop sequentially through all interfaces 
>> (eth0, eth1, ...) and use the first with a valid DHCP root-path.
> 
> dhcp and any seem to do the same thing.  Get rid of any?

This is "legacy" from kernel nfsroot. We should keep this for compatibility.

> 
>>     * ip=<interface>:[dhcp|on|any]
>>           o get ip from dhcp server on a specific interface
>>     * ip=[none|off]
>>           o no TCP/IP network
> 
> What is the point of this?  When is this ever useful?

ip=[none|off] doesn't make any sense at all. Can be removed IMHO.

Regards,
Philippe
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some netboot doc cleanups
       [not found]     ` <4A3759D2.2040101-omB+W0Dpw2o@public.gmane.org>
@ 2009-06-16 17:32       ` Warren Togami
  0 siblings, 0 replies; 4+ messages in thread
From: Warren Togami @ 2009-06-16 17:32 UTC (permalink / raw)
  To: initramfs

On 06/16/2009 04:37 AM, Seewer Philippe wrote:
>>> Network ¶
>>>
>>> * ip=[dhcp|on|any]
>>> o get ip from dhcp server from all interfaces
>>> o If root=dhcp, loop sequentially through all interfaces (eth0, eth1,
>>> ...) and use the first with a valid DHCP root-path.
>>
>> dhcp and any seem to do the same thing. Get rid of any?
>
> This is "legacy" from kernel nfsroot. We should keep this for
> compatibility.
>
>>
>>> * ip=<interface>:[dhcp|on|any]
>>> o get ip from dhcp server on a specific interface
>>> * ip=[none|off]
>>> o no TCP/IP network
>>
>> What is the point of this? When is this ever useful?
>
> ip=[none|off] doesn't make any sense at all. Can be removed IMHO.
>

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/filesystems/nfsroot.txt

ip none and off are mentioned here as well, although it seems ambiguous 
as to the purpose.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-16 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15 20:43 Some netboot doc cleanups Warren Togami
     [not found] ` <4A36B285.2080905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-16  7:39   ` Harald Hoyer
2009-06-16  8:37   ` Seewer Philippe
     [not found]     ` <4A3759D2.2040101-omB+W0Dpw2o@public.gmane.org>
2009-06-16 17:32       ` Warren Togami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.