#include <linux/types.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/nfs.h>
#include <linux/nfs_fs.h>
#include <linux/utsname.h>
#include <linux/root_dev.h>
#include <net/ipconfig.h>
#include "internal.h"
Go to the source code of this file.
#define NFS_DEF_OPTIONS "vers=2,udp,rsize=4096,wsize=4096" |
#define NFS_ROOT "/tftpboot/%s" |
nfs_root_data - Return prepared 'data' for NFSROOT mount : OUT: address of string containing NFSROOT device : OUT: address of string containing NFSROOT mount options
Returns zero and sets and if successful, otherwise -1 is returned.
Definition at line 295 of file nfsroot.c.