restructure fork mode for MINIX.