Implemented some virtfs functions.