Hello all...
 I have one problem and i guess that you can help me...
 I have some FreeBSD diskless machines, 4.7 ones, working fine.
 The kernel have been compiled with root_nfs, bootp, and bootp_nfsroot
support. So, the ip, network, mask and other configurations are been set
with bootp/dhcp protocol.
 But the machines have hard drives, and i do not obtain nothing
purchaising then without one... So, i use it. To load the kernel and  for
swap device. The loader.4th is working fine ...I was looking in the
bootp_subr.c code, and saw
whatit does... i saw the pxe.c code too, and saw the boot.netif variables.
 Now, because i know what variables to set, i do not want bootp anymore.
:)
 The boot.netif.ip, boot.netif.netmask, boot.netif.rootpath and so on, i
set without problems, but the boot.netif.nfshandle not. :(
 Browsing one more time the bootp_subr.c and pxe.c codes, i saw the
procedures that set this variable. I'm trying to reproduce it in
autoconf.c code, but i can't. The other variables i can set in
loader.conf, but i need a function that retrieve from nfs server the nfs
handle for the root filesystem. Somebody knows the nfs protocol to help me
in the job to write a patch to autoconf.c and sets this variable?
 I guess that is not so hard task, but i do not write one c code a long
time ago... :)

 Thanks very much!!!
 And sory by the english...

 I guess that freebsd do not think in this situation. Today, HD is not so
expansive, and a misc solution is fine! Maybe, one manner for set ip mask
and this magic file handle without dynamic protocols...

[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to