pyzkiln_core/zutils/fsutils.py
def unmount_fs(fs_name: str):
    """
    Pass zFS mountpoint to unmount the file system.

        Parameters:
            fs_name (str): path to mounted zFS
        Returns:
            Resulting return code of mount command
    """
    unmount_cmd_location = config.get('FsutilsSection', 'fsutils.unmount')

    if dry_run_flag:
        logging.info(f"DRY RUN COMMAND: {unmount_cmd_location} -f {fs_name}")
        return 0
    else:
        unmount_cmd = subprocess.run([unmount_cmd_location, "-f", fs_name])
        return unmount_cmd.returncode

    Pass zFS mountpoint to unmount the file system.

        Parameters:
            fs_name (str): path to mounted zFS
        Returns:
            Resulting return code of mount command
    
Pass zFS mountpoint to unmount the file system.
Parameters:
fs_name (str): path to mounted zFS
Returns:
Resulting return code of mount command
Pass zFS mountpoint to unmount the file system . Parameters : fs_name ( str ) : path to mounted zFS Returns : Resulting return code of mount command
def unmount_fs(fs_name: str):
    unmount_cmd_location = config.get('FsutilsSection', 'fsutils.unmount')
    if dry_run_flag:
        logging.info(f"DRY RUN COMMAND: {unmount_cmd_location} -f {fs_name}")
        return 0
    else:
        unmount_cmd = subprocess.run([unmount_cmd_location, "-f", fs_name])
        return unmount_cmd.returncode
def unmount_fs ( fs_name : str ) : unmount_cmd_location = config . get ( 'FsutilsSection' , 'fsutils.unmount' ) if dry_run_flag : logging . info ( f"DRY RUN COMMAND: {unmount_cmd_location} -f {fs_name}" ) return 0 else : unmount_cmd = subprocess . run ( [ unmount_cmd_location , "-f" , fs_name ] ) return unmount_cmd . returncode
Pass zFS mountpoint to unmount the file system.
Pass zFS mountpoint to unmount the file system .
"""
    Pass zFS mountpoint to unmount the file system.

        Parameters:
            fs_name (str): path to mounted zFS
        Returns:
            Resulting return code of mount command
    """
fs_name
str