function pushpath() is to push the pathname to einfo
make_einfo() judge the option