All of lore.kernel.org
 help / color / mirror / Atom feed
* strangeness: udhcpc runs when 'ip=dhcp' is in kernel cmdline
@ 2011-05-19 12:23 Tim Cussins
  0 siblings, 0 replies; only message in thread
From: Tim Cussins @ 2011-05-19 12:23 UTC (permalink / raw)
  To: poky

Hi all,

i've built my own kernel and image for our development system, and i've 
been mounting the rootfs image over NFS.

the kernel successfully does dhcp before mounting the NFS share - then 
udhcpc kicks in because the busybox-udhcp script looks for 'ip=dhcp' in 
the kernel command line (/proc/cmdline), launching udhcpc if it's 
present. does this seem odd to anyone?

AFAIK ip=dhcp is only really used for NFS root mounts, and i guess i 
assumed that the kernel would also be responsible for maintaining the 
DHCP lease. I might be wrong there.

http://www.mjmwired.net/kernel/Documentation/filesystems/nfs/nfsroot.txt#81

If anyone can shed some light on this, that'd be cool.

Cheers,
Tim


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-19 12:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-19 12:23 strangeness: udhcpc runs when 'ip=dhcp' is in kernel cmdline Tim Cussins

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.