Skip to contentSkip to conversation

Some netboot doc cleanups

DISCUSSION Warren Togami 3 participants 4 messages Jun 15, 2009 – Jun 16, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

https://sourceforge.net/apps/trac/dracut/wiki/commandline

Quoted 4 lines

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.

Quoted 5 lines

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?

Quoted 4 lines

* 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?

Quoted 6 lines

* 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
[email protected]

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Warren Togami

https://sourceforge.net/apps/trac/dracut/wiki/commandline

Quoted 4 lines

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to a message not in the archive
Quoted 8 lines · Warren Togami

https://sourceforge.net/apps/trac/dracut/wiki/commandline

Quoted 4 lines

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.

Quoted 8 lines
Quoted 6 lines

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.

Quoted 7 lines
Quoted 5 lines

* 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to a message not in the archive
Quoted 13 lines · Seewer Philippe
Quoted 8 lines
Quoted 6 lines

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.

Quoted 1 line
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

* 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html