From owner-freebsd-hackers Thu Nov 30 8: 5: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id 7C1D637B401 for ; Thu, 30 Nov 2000 08:05:06 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1000) id 0EF2E2B23F; Thu, 30 Nov 2000 10:05:01 -0600 (CST) Date: Thu, 30 Nov 2000 08:05:00 -0800 From: Paul Saab To: Danny Braniss Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: diskless/rc Message-ID: <20001130080500.A73135@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from danny@cs.huji.ac.il on Thu, Nov 30, 2000 at 05:56:57PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG make sure the kernel you are booting is the same as the NFS file systems you are using. paul Danny Braniss (danny@cs.huji.ac.il) wrote: > sorry if this is not the correct list. > > this code in rc: > ... > > case ${update_motd} in > [Nn][Oo] | '') > ;; > *) > if T=`mktemp /tmp/_motd.XXXXXX`; then > uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) > $,\1 (\3) #\2,' > ${T} > awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else > {print}}' < /etc/motd >> ${T} > cmp -s ${T} /etc/motd || { > cp ${T} /etc/motd > chmod 644 /etc/motd > } > rm -f ${T} > fi > ;; > esac > > used to > 1) the cmp -s -> BUS ERROR > 2) cp ${T} /etc/motd -> cp: /etc/motd: Bad address > > now only 2 is happening - go figure :-) > it also used to, after it went multiuser, to panic when i did the > cmp -s ${T} /etc/motd > > any insights? > > danny > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Paul Saab Technical Yahoo paul@mu.org - ps@yahoo-inc.com - ps@freebsd.org Do You .. uhh .. Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message