:mod:`vfs` -- virtual filesystem control ========================================== .. module:: vfs :synopsis: virtual filesystem control This module provides virtual filesystem control functions. Functions --------- .. function:: mount(fsobj, mount_point) Mount a filesystem object to the specified mount point. Parameters: * ``fsobj``: the filesystem object * ``mount_point``: the mount point path .. function:: umount(mount_point) Unmount the filesystem at the specified mount point. Parameters: * ``mount_point``: the mount point path .. function:: mkfs(fsobj) Create a filesystem on the filesystem object. Parameters: * ``fsobj``: the filesystem object .. function:: chdir(path) Change the current working directory. Parameters: * ``path``: the target path .. function:: getcwd() Get the current working directory. Return value: The current working directory path (a string)