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 /include/disks.h | |
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 'include/disks.h')
0 files changed, 0 insertions, 0 deletions