diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2016-02-05 16:09:47 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-08 08:02:33 +0100 |
commit | b5778f9773df9e749158e43976a4d88e84ef79f8 (patch) | |
tree | 39c7e44418bf3c1cf297dd2f52d5a3b177ba7a1d /Documentation | |
parent | a4cee7207a14ec5445f4fe755fda0d1d28372bc5 (diff) | |
download | barebox-b5778f9773df9e749158e43976a4d88e84ef79f8.tar.gz barebox-b5778f9773df9e749158e43976a4d88e84ef79f8.tar.xz |
nfs: forward filesystem options to the kernel command line
Using NFS in conjunction with boot spec and the feature to let Barebox
auto generate a kernel command line must keep the options the NFS filesystem
was mounted in Barebox. This patch extends the kernel command line parameter
on demand if something different than the defaults are used.
The command:
barebox:/ boot nfs://myhost//root
expands to the kernel command line:
nfsroot=myhost:/root,v3,tcp
while the command:
barebox:/ boot nfs://myhost:2049//root
expands now to the kernel command line:
nfsroot=myhost:/root,v3,tcp,mountport=2049,port=2049
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/user/booting-linux.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/user/booting-linux.rst b/Documentation/user/booting-linux.rst index 39084e5afe..5b021f0662 100644 --- a/Documentation/user/booting-linux.rst +++ b/Documentation/user/booting-linux.rst @@ -203,7 +203,7 @@ compatible NFS URI string must be passed to the boot command: .. code-block:: sh - boot nfs://nfshost//path/ + boot nfs://nfshost[:port]//path/ Additionally to the options defined in the original spec barebox understands the ``linux-appendroot`` option. This is a boolean value and if set to ``true`` barebox |