Date: Mon, 22 Apr 2002 14:42:17 -0700 From: "David O'Brien" <obrien@FreeBSD.ORG> To: Danny Braniss <danny@cs.huji.ac.il> Cc: Freebsd Current <current@FreeBSD.ORG> Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020422144217.A73087@dragon.nuxi.com> In-Reply-To: <E16zYRI-0006je-00@cs.huji.ac.il>; from danny@cs.huji.ac.il on Mon, Apr 22, 2002 at 10:40:44AM %2B0300 References: <E16zYRI-0006je-00@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: > Since im very interested in diskless/dataless, and i've been at it for some > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 > which i wouldn't mind receiving commnets/suggestions, and if possible > incorporated. > > the stuff is in: > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/ I'll commit this to rc.diskless1 +if [ -z "`hostname -s`" ]; then + hostname=`kenv dhcp.host-name` + hostname $hostname + echo "Hostname is $hostname" +fi BUT you've missed the point with this point: +else + mount_md 4096 /conf/etc 0 + chkerr $? "MFS mount on /conf/etc" + mount -t unionfs /conf/etc /etc + /bin/chmod 755 /etc + find /etc > /dev/null + touch /etc/.sentinel That being that some of us actually WANT /etc to be left the fsck alone. We NFS mount / and that / has /etc as it should be. I also cannot follow what you are trying to do with /etc/conf. Perhaps you could comment that part? 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?20020422144217.A73087>