David Dillow wrote:
[snip]
Also, did you verify that the ip format you generate is identical to the
"ASCII-representation of the client's IP address" as generated by the
kernel?
The kernel docs say IP address, but the actual kernel code uses the host
name if set and falls back to the IP address.
That is indeed the case (from vanilla 2.6.29/fs/nfs/nfsroot.c):
[quote]
* Martin Mares : Default path now contains host name instead of
* host IP address (but host name defaults to IP
* address anyway).
[/quote]
[quote]
cp = utsname()->nodename;
if (strlen(buf) + strlen(cp) > NFS_MAXPATHLEN) {
printk(KERN_ERR "Root-NFS: Pathname for remote directory too long.\n");
return -1;
}
sprintf(nfs_path, buf, cp);
[/quote]
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html