Date: Wed, 24 Apr 2002 10:34:51 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: Freebsd Current <current@FreeBSD.org> Cc: "David O'Brien" <obrien@FreeBSD.org>, Doug Barton <DougB@FreeBSD.org>, Robert Watson <rwatson@FreeBSD.ORG>, Terry Lambert <tlambert2@mindspring.com> Subject: what if/diskless booting Message-ID: <E170HIh-00045V-00@cs.huji.ac.il>
next in thread | raw e-mail | index | archive | help
at stage 1, the diskless host sends out a bootp/dhcp request, the dhcpd servers sends back some packets, and pxeloader gets tftp'ed. i modified libstand/bootp.c to place all the tags - that dhcp provides - in the kernel environmet, so that they can be used later - eg in rc.diskless1. what if: we place the rc.conf[.local] there? in the dhcpd.conf: option rc-conf "132.65.16.100:/d/4/etc/rc.conf" and so - automagicaly - `kenv rc.conf.diskless_root_readonly` or kenv | grep rc.conf | sed 's/rc.conf.//' > rc.conf i'll work now on the 'automagicaly' part :-) danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E170HIh-00045V-00>