MENU_ENT ('n', N_("add a new partition")),
MENU_BENT ('p', N_("print the partition table")),
MENU_ENT ('t', N_("change a partition type")),
- MENU_ENT_E('v', N_("verify the partition table"), FDISK_DISKLABEL_OSF),
+ MENU_ENT_E('v', N_("verify the partition table"), FDISK_DISKLABEL_BSD),
MENU_XENT('d', N_("print the raw data of the first sector")),
MENU_SEP(N_("Misc")),
MENU_BENT ('m', N_("print this menu")),
MENU_ENT_E('u', N_("change display/entry units"), FDISK_DISKLABEL_GPT),
- MENU_ENT_E('x', N_("extra functionality (experts only)"), FDISK_DISKLABEL_OSF),
+ MENU_ENT_E('x', N_("extra functionality (experts only)"), FDISK_DISKLABEL_BSD),
MENU_BSEP(N_("Save & Exit")),
- MENU_ENT_E('w', N_("write table to disk and exit"), FDISK_DISKLABEL_OSF),
- MENU_ENT_L('w', N_("write table to disk"), FDISK_DISKLABEL_OSF),
+ MENU_ENT_E('w', N_("write table to disk and exit"), FDISK_DISKLABEL_BSD),
+ MENU_ENT_L('w', N_("write table to disk"), FDISK_DISKLABEL_BSD),
MENU_BENT ('q', N_("quit without saving changes")),
MENU_XENT ('r', N_("return to main menu")),
- MENU_ENT_L('r', N_("return to main menu"), FDISK_DISKLABEL_OSF),
+ MENU_ENT_L('r', N_("return to main menu"), FDISK_DISKLABEL_BSD),
{ 0, NULL }
}
struct menu menu_createlabel = {
/* .callback = createlabel_menu_cb, */
- .exclude = FDISK_DISKLABEL_OSF,
+ .exclude = FDISK_DISKLABEL_BSD,
.entries = {
MENU_SEP(N_("Create a new label")),
MENU_ENT('g', N_("create a new empty GPT partition table")),
struct menu menu_geo = {
.callback = geo_menu_cb,
- .exclude = FDISK_DISKLABEL_GPT | FDISK_DISKLABEL_OSF,
+ .exclude = FDISK_DISKLABEL_GPT | FDISK_DISKLABEL_BSD,
.entries = {
MENU_XSEP(N_("Geometry")),
MENU_XENT('c', N_("change number of cylinders")),
struct menu menu_bsd = {
.callback = bsd_menu_cb,
- .label = FDISK_DISKLABEL_OSF,
+ .label = FDISK_DISKLABEL_BSD,
.entries = {
MENU_SEP(N_("BSD")),
MENU_ENT('e', N_("edit drive data")),
assert(cxt);
assert(ent);
- assert(fdisk_is_disklabel(cxt, OSF));
+ assert(fdisk_is_disklabel(cxt, BSD));
DBG(FRONTEND, dbgprint("enter BSD menu"));
19990319 - Arnaldo Carvalho de Melo <acme@conectiva.com.br> - i18n/nls
20000101 - David Huggins-Daines <dhuggins@linuxcare.com> - Better
- support for OSF/1 disklabels on Alpha.
+ support for BSD/1 disklabels on Alpha.
Also fixed unaligned accesses in alpha_bootblock_checksum()
*/
{
assert(cxt);
assert(cxt->label);
- assert(fdisk_is_disklabel(cxt, OSF));
+ assert(fdisk_is_disklabel(cxt, BSD));
return (struct fdisk_bsd_label *) cxt->label;
}
{
assert(cxt);
assert(cxt->label);
- assert(fdisk_is_disklabel(cxt, OSF));
+ assert(fdisk_is_disklabel(cxt, BSD));
return &((struct fdisk_bsd_label *) cxt->label)->bsd;
}
/* initialize generic part of the driver */
lb = (struct fdisk_label *) bsd;
lb->name = "bsd";
- lb->id = FDISK_DISKLABEL_OSF;
+ lb->id = FDISK_DISKLABEL_BSD;
lb->op = &bsd_operations;
lb->parttypes = xbsd_fstypes;
lb->nparttypes = ARRAY_SIZE(xbsd_fstypes);