Instead of $swap_opts lets call this automount_type or direct or indirect.