From: Tim Cussins <timcussins@eml.cc>
To: poky@pokylinux.org
Subject: strangeness: udhcpc runs when 'ip=dhcp' is in kernel cmdline
Date: Thu, 19 May 2011 13:23:17 +0100 [thread overview]
Message-ID: <4DD50BB5.5070303@eml.cc> (raw)
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
reply other threads:[~2011-05-19 12:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DD50BB5.5070303@eml.cc \
--to=timcussins@eml.cc \
--cc=poky@pokylinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.