[klibc] nfsmount inside kinit
aaronmgriffin at gmail.com
Fri May 12 09:27:06 PDT 2006
Hey all, bug report time. I started tracking this down, but am at a
bit of a loss for time, so I figured I'd report over this list to see
if anyone else has the time to fix this or at least find the error.
When calling nfsmount on it's own, say "nfsmount 220.127.116.11:/home/nfs
/root" it works just fine, however, when calling nfsmount_main from
within kinit (via nfsroot=), things get wonky.
I have verified that argc is 3 and argv == "18.104.22.168:/home/nfs",
argv == "/root", however, optind seems off-by-one. After leaving
the getopt loop, optind is 2, which causes the server check to fail (
strchr("/root".':') ). I do not know where or how optind is thrown
off, and have gotten to this point, but do not have the time to go
If anyone has any ideas, please let me know. I may have more time to
test in a few days if this is still unresolved.
More information about the klibc