On Fri, Feb 05, 2016 at 04:09:47PM +0100, Juergen Borleis wrote: > 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@xxxxxxxxxxxxxx> > --- > Documentation/user/booting-linux.rst | 2 +- > fs/nfs.c | 21 ++++++++++++++++++++- > 2 files changed, 21 insertions(+), 2 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox