create_snapshot
r = create_snapshot(path, snapshots_path);
static int create_snapshot(const char *path, const char *snapshots_path);