summaryrefslogtreecommitdiff
path: root/fdisks/fdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'fdisks/fdisk.c')
-rw-r--r--fdisks/fdisk.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c
index 4bae2375..34db0a1b 100644
--- a/fdisks/fdisk.c
+++ b/fdisks/fdisk.c
@@ -500,18 +500,6 @@ static void command_prompt(struct fdisk_context *cxt)
assert(cxt);
- if (fdisk_is_disklabel(cxt, OSF)) {
- putchar('\n');
- /* OSF label, and no DOS label */
- printf(_("Detected an OSF/1 disklabel on %s, entering "
- "disklabel mode.\n"),
- cxt->dev_path);
- bsd_command_prompt(cxt);
-
- /* If we return we may want to make an empty DOS label? */
- fdisk_context_switch_label(cxt, "dos");
- }
-
while (1) {
assert(cxt->label);