Date: Wed, 12 Apr 2006 15:20:28 -0400 From: Garance A Drosehn <gad@FreeBSD.org> To: Brooks Davis <brooks@one-eyed-alien.net>, Florent Thoumie <flz@FreeBSD.org> Cc: freebsd-current@FreeBSD.org, Rong-En Fan <grafan@gmail.com>, John Baldwin <jhb@FreeBSD.org> Subject: Re: tail, tr: not found when booting Message-ID: <p0623091cc06302dedbf8@[128.113.24.47]> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0623091cc06302dedbf8>