My machine hangs during the boot process. It seems related to ps.

When the system boots, the first invocation of ps will try to
recreate /tmp/ps_data. To this end ps scans the /dev tree.
Under some circumstances, a loop exists in /dev and ps will
run forever. Most of the time this loop is caused by the symbolic
link /dev/ While this link usually points to /dev/term/b,
it sometimes get truncated and points to /dev instead.

Fix: rm -f /dev/; ln -s /dev/term/b /dev/

Use truss(1) to determine whether this is really the cause of your

[an error occurred while processing this directive]