/*
affs.c -- parted support for affs file systems
Copyright (C) 1998-2000, 2007, 2009-2010 Free Software Foundation,
Inc.
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <config.h>
#include "amiga.h"
#include "affs.h"
#if ENABLE_NLS
# include <libintl.h>
#else
#endif /* ENABLE_NLS */
static int
int i;
if (sum) return 0;
return 1;
}
static PedGeometry*
{
/* Finds the blocksize, prealloc and reserved values of the partition block */
_("%s : Failed to allocate partition block\n"), __func__);
goto error_part;
}
}
/* Test boot block */
_("%s : Failed to allocate block\n"), __func__);
goto error_block;
}
goto error;
}
goto error;
}
/* Find and test the root block */
printf ("Pralloc = %d, Reserved = %d, blocksize = %d, root block at %llu\n",
goto error;
}
return ped_geometry_duplicate (geom);
}
return NULL;
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
static PedGeometry*
}
.probe = _affs0_probe,
};
.probe = _affs1_probe,
};
.probe = _affs2_probe,
};
.probe = _affs3_probe,
};
.probe = _affs4_probe,
};
.probe = _affs5_probe,
};
.probe = _affs6_probe,
};
.probe = _affs7_probe,
};
.probe = _amufs_probe,
};
.probe = _amufs0_probe,
};
.probe = _amufs1_probe,
};
.probe = _amufs2_probe,
};
.probe = _amufs3_probe,
};
.probe = _amufs4_probe,
};
.probe = _amufs5_probe,
};
.ops = &_affs0_ops,
.name = "affs0",
};
.ops = &_affs1_ops,
.name = "affs1",
};
.ops = &_affs2_ops,
.name = "affs2",
};
.ops = &_affs3_ops,
.name = "affs3",
};
.ops = &_affs4_ops,
.name = "affs4",
};
.ops = &_affs5_ops,
.name = "affs5",
};
.ops = &_affs6_ops,
.name = "affs6",
};
.ops = &_affs7_ops,
.name = "affs7",
};
.ops = &_amufs_ops,
.name = "amufs",
};
.ops = &_amufs0_ops,
.name = "amufs0",
};
.ops = &_amufs1_ops,
.name = "amufs1",
};
.ops = &_amufs2_ops,
.name = "amufs2",
};
.ops = &_amufs3_ops,
.name = "amufs3",
};
.ops = &_amufs4_ops,
.name = "amufs4",
};
.ops = &_amufs5_ops,
.name = "amufs5",
};