tail, tr: not found when booting

Rong-En Fan grafan at gmail.com
Wed Apr 12 03:27:04 UTC 2006


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. :-)

Regards,
Rong-En fan


More information about the freebsd-current mailing list