fix a compile error caused by the devfs removal