follows #rip.mknod