mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Wismer Thomas <thomas.wismer@scs.ch>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] Patch-Vorschlag /etc/init.d/networking
Date: Fri, 7 Feb 2014 12:56:52 +0100	[thread overview]
Message-ID: <E0CB834DD9BF7546A8B709A96E2ECAC30154662F2C3A@Exchange.scs-ad.scs.ch> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]

Sehr geehrte PTXdist-Entwickler

Ich erlaube mir angehängten Patch einzureichen. Beim Booten mittels NFS ist "root=/dev/nfs" der einzig zwingende Kernel-Parameter. "nfsroot" kann z.B. mittels DHCP anstatt Kernel-Parameter gesetzt werden und ist daher kein zuverlässiger Indikator.

Mit freundlichen Grüssen
Thomas Wismer

--
Thomas Wismer, Development Engineer
Direct +41 (0)43 456 16 89  *  Phone +41 (0)43 456 16 00  *  www.scs.ch<http://www.scs.ch/>
Supercomputing Systems AG  *  Technoparkstrasse 1  *  CH-8005 Zürich


[-- Attachment #1.2: Type: text/html, Size: 4213 bytes --]

[-- Attachment #2: commit-1ccf397 --]
[-- Type: application/octet-stream, Size: 608 bytes --]

commit 1ccf397c37e7e91c74635cc6ff9dc916595515b0
Author: Thomas Wismer <thomas.wismer@scs.ch>
Date:   Fri Feb 7 11:01:53 2014 +0100

    networking: fixed nfsroot handling in init script
    
    Signed-off-by: Thomas Wismer <thomas.wismer@scs.ch>

diff --git a/generic/etc/init.d/networking b/generic/etc/init.d/networking
index 4caf366..4b82262 100644
--- a/generic/etc/init.d/networking
+++ b/generic/etc/init.d/networking
@@ -2,7 +2,7 @@
 
 echo "starting network interfaces..."
 
-grep "nfsroot" /proc/cmdline > /dev/null
+grep "root=/dev/nfs" /proc/cmdline > /dev/null
 
 if [ $? != 0 ]; then
 	ifup -a

[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2014-02-07 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 11:56 Wismer Thomas [this message]
2014-02-18  9:13 ` Juergen Beisert

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=E0CB834DD9BF7546A8B709A96E2ECAC30154662F2C3A@Exchange.scs-ad.scs.ch \
    --to=thomas.wismer@scs.ch \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox