From owner-freebsd-current@FreeBSD.ORG Wed Apr 12 19:20:39 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 0106E16A406; Wed, 12 Apr 2006 19:20:39 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DAC043D7B; Wed, 12 Apr 2006 19:20:32 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.1/8.13.0) with ESMTP id k3CJKTCw022111; Wed, 12 Apr 2006 15:20:30 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <20060412174630.GC21175@odin.ac.hmc.edu> References: <6eb82e0604112027q557fa36bw692f147913112997@mail.gmail.com> <200604121041.37870.jhb@freebsd.org> <20060412151816.GE28966@odin.ac.hmc.edu> <1144855989.53943.46.camel@mayday.esat.net> <20060412174630.GC21175@odin.ac.hmc.edu> Date: Wed, 12 Apr 2006 15:20:28 -0400 To: Brooks Davis , Florent Thoumie From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.3 Cc: freebsd-current@FreeBSD.org, Rong-En Fan , John Baldwin 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 19:20:39 -0000 > > > > > > You can't do anything with /usr this early. This needs > > > to be moved to _find_processes() where it's actually used. > > > I suspect it should also be converted to pure shell code. > > > I think this would work: > > > > > > for ent in `ps -p $$ -o jid`; do >> > JID=$ent > > > done You might want to change this to: for ent in `ps -p $$ -o jid=`; do JID=$ent done (adding '=' on 'jid', to get rid of the column header) -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA