From owner-freebsd-current@FreeBSD.ORG Wed Apr 12 14:41:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6D5D16A401 for ; Wed, 12 Apr 2006 14:41:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D00AB43D76 for ; Wed, 12 Apr 2006 14:41:49 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3CEflms025171; Wed, 12 Apr 2006 10:41:48 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 12 Apr 2006 10:41:36 -0400 User-Agent: KMail/1.9.1 References: <6eb82e0604112027q557fa36bw692f147913112997@mail.gmail.com> In-Reply-To: <6eb82e0604112027q557fa36bw692f147913112997@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604121041.37870.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1394/Wed Apr 12 09:45:54 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Rong-En Fan Subject: Re: tail, tr: not found when booting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 14:41:51 -0000 On Tuesday 11 April 2006 23:27, Rong-En Fan wrote: > Hi, > > I just upgraded my -currnet to today. I noticed that rc complains about > tail and tr not found: > > [...] > Trying to mount root from ufs:/dev/ad0s3a > start_init: trying /sbin/init > tail: not found > tr: not found > Loading configuration files. > kernel dumps on /dev/ad0s3b > [...] > > The following line in rc.subr looks suspicious > > JID=`ps -p $$ -o jid | tail -1 | tr -d ' '` > > They should be replaced by absolute name as the rest command in > rc.subr. :-) You don't have tail and tr in /usr/bin? Hmm, I wonder if /usr is mounted at that point, if not then rc.subr needs to be fixed. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org