mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Patch-Vorschlag /etc/init.d/networking
@ 2014-02-07 11:56 Wismer Thomas
  2014-02-18  9:13 ` Juergen Beisert
  0 siblings, 1 reply; 2+ messages in thread
From: Wismer Thomas @ 2014-02-07 11:56 UTC (permalink / raw)
  To: ptxdist


[-- 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

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

* Re: [ptxdist] Patch-Vorschlag /etc/init.d/networking
  2014-02-07 11:56 [ptxdist] Patch-Vorschlag /etc/init.d/networking Wismer Thomas
@ 2014-02-18  9:13 ` Juergen Beisert
  0 siblings, 0 replies; 2+ messages in thread
From: Juergen Beisert @ 2014-02-18  9:13 UTC (permalink / raw)
  To: ptxdist; +Cc: Wismer Thomas

Hi Thomas,

this is an English language mailing list. ;)
 
On Friday 07 February 2014 12:56:52 Wismer Thomas wrote:
> 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.

Applied to ptxdist-master, thanks.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-02-18  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 11:56 [ptxdist] Patch-Vorschlag /etc/init.d/networking Wismer Thomas
2014-02-18  9:13 ` Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox